8 references to new
System.Windows.Forms (2)
System\Windows\Forms\GiveFeedbackEventArgs.cs (1)
17
:
this
(effect, useDefaultCursors, dragImage: default!, cursorOffset: default, useDefaultDragImage: false)
System\Windows\Forms\OLE\DropSource.cs (1)
27
_lastGiveFeedbackEventArgs =
new
(DragDropEffects.None, useDefaultCursors: false, dragImage, cursorOffset, useDefaultDragImage);
System.Windows.Forms.Tests (6)
System\Windows\Forms\DragDropHelperTests.cs (3)
25
yield return new object[] { new DataObject(), new
GiveFeedbackEventArgs
(DragDropEffects.All, false, new Bitmap(1, 1), new Point(0, 0), false) };
26
yield return new object[] { new DataObject(), new
GiveFeedbackEventArgs
(DragDropEffects.All, false, null, new Point(0, 0), false) };
27
yield return new object[] { new DataObject(), new
GiveFeedbackEventArgs
(DragDropEffects.All, false, new Bitmap(1, 1), new Point(0, 0), true) };
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (3)
25
GiveFeedbackEventArgs e =
new
(DragDropEffects.None, false, new Bitmap(1, 1), new Point(0, 0), false)
42
GiveFeedbackEventArgs e =
new
(DragDropEffects.None, false, new Bitmap(2, 2), new Point(0, 0), false)
72
GiveFeedbackEventArgs e =
new
(DragDropEffects.None, false, new Bitmap(1, 1), new Point(0, 0), false)