6 references to RegisterDragDrop
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (1)
9578
HRESULT hr = PInvokeCore.
RegisterDragDrop
(this, new DropTarget(this));
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (1)
176
HRESULT hr = PInvokeCore.
RegisterDragDrop
(_owner, new DropTarget(this));
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlTests.Properties.cs (1)
255
Assert.Equal(HRESULT.S_OK, PInvokeCore.
RegisterDragDrop
(control, dropTarget));
System\Windows\Forms\RichTextBoxTests.cs (2)
316
Assert.Equal(HRESULT.DRAGDROP_E_ALREADYREGISTERED, PInvokeCore.
RegisterDragDrop
(control, dropTarget));
1268
Assert.Equal(HRESULT.DRAGDROP_E_ALREADYREGISTERED, PInvokeCore.
RegisterDragDrop
(control, dropTarget));
System\Windows\Forms\ToolStripTests.cs (1)
463
Assert.Equal(HRESULT.S_OK, PInvokeCore.
RegisterDragDrop
(control, dropTarget));