18 references to DragEventArgs
System.Windows.Forms (3)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (2)
130? new DragEventArgs(_lastDataObject, 231? new DragEventArgs(_lastDataObject,
System\Windows\Forms\OLE\DropTarget.cs (1)
79? new DragEventArgs(data, (int)grfKeyState, pt.x, pt.y, (DragDropEffects)pdwEffect, _lastEffect)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\ToolboxSnapDragDropEventArgs.cs (1)
22: base(origArgs.Data, origArgs.KeyState, origArgs.X, origArgs.Y, origArgs.AllowedEffect, origArgs.Effect)
System.Windows.Forms.Tests (14)
System\Windows\Forms\ControlTests.Handlers.cs (1)
1302yield return new object[] { new DragEventArgs(null, 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move) };
System\Windows\Forms\DragEventArgsTests.cs (2)
25DragEventArgs e = new(data, keyState, x, y, allowedEffect, effect); 56DragEventArgs e = new(new CustomDataObject(), 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move)
System\Windows\Forms\RichTextBoxTests.cs (3)
10734DragEventArgs dragEventArgs = new DragEventArgs( 10762DragEventArgs dragEventArgs = new DragEventArgs( 10811DragEventArgs dragEventArgs = new DragEventArgs(
System\Windows\Forms\ToolStripControlHostTests.cs (1)
3345yield return new object[] { new DragEventArgs(null, 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move) };
System\Windows\Forms\ToolStripItemTests.cs (1)
10991yield return new object[] { new DragEventArgs(null, 0, 0, 0, DragDropEffects.None, DragDropEffects.None) };
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (6)
28DragEventArgs dragEventArgs = new(dataObject, 0, 0, 0, DragDropEffects.None, DragDropEffects.None); 39DragEventArgs dragEventArgs = new(dataObject, 0, 0, 0, DragDropEffects.None, DragDropEffects.None); 52DragEventArgs dragEventArgs = new(dataObject, 0, 0, 0, DragDropEffects.None, DragDropEffects.None); 63DragEventArgs dragEventArgs = new(dataObject, 0, 0, 0, DragDropEffects.None, DragDropEffects.None); 76DragEventArgs dragEventArgs = new(dataObject, 0, 0, 0, DragDropEffects.None, DragDropEffects.None); 87DragEventArgs dragEventArgs = new(dataObject, 0, 0, 0, DragDropEffects.None, DragDropEffects.None);