36 references to DataObject
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
54
clipboard.SetDataObject(new System.Windows.Forms.
DataObject
(data));
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
4858
data is DataObject dataObject ? dataObject : new
DataObject
(data);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2175
iwdata = new
DataObject
(idataObject);
System\Windows\Forms\OLE\Clipboard.cs (1)
46
: new
DataObject
(data) { IsWrappedForClipboard = true };
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObjectWrapper.cs (1)
11
public ComponentDataObjectWrapper(ComponentDataObject dataObject) :
base
(dataObject)
System.Windows.Forms.Tests (30)
System\Windows\Forms\ClipboardTests.cs (2)
275
DataObject dataObject =
new
(data);
304
DataObject dataObject =
new
(data);
System\Windows\Forms\ControlTests.Methods.cs (1)
1818
yield return new object[] { new
DataObject
("data"), allowedEffects };
System\Windows\Forms\DataObjectTests.cs (26)
292
DataObject dataObject =
new
(mockDataObject.Object);
323
DataObject dataObject =
new
(mockDataObject.Object);
414
DataObject dataObject =
new
(mockDataObject.Object);
445
DataObject dataObject =
new
(mockDataObject.Object);
596
DataObject dataObject =
new
(mockDataObject.Object);
651
DataObject dataObject =
new
(mockDataObject.Object);
860
DataObject dataObject =
new
(mockDataObject.Object);
918
DataObject dataObject =
new
(mockDataObject.Object);
1002
DataObject dataObject =
new
(mockDataObject.Object);
1087
DataObject dataObject =
new
(mockDataObject.Object);
1170
DataObject dataObject =
new
(mockDataObject.Object);
1195
DataObject dataObject =
new
(mockDataObject.Object);
1291
DataObject dataObject =
new
(mockDataObject.Object);
1353
DataObject dataObject =
new
(mockDataObject.Object);
1431
DataObject dataObject =
new
(mockDataObject.Object);
1525
DataObject dataObject =
new
(mockDataObject.Object);
1553
DataObject data =
new
(new DataObjectIgnoringStorageMediumForEnhancedMetafile());
1633
DataObject dataObject =
new
(mockComDataObject.Object);
1662
DataObject dataObject =
new
(mockComDataObject.Object);
1701
DataObject dataObject =
new
(mockComDataObject.Object);
1775
DataObject dataObject =
new
(mockDataObject.Object);
1837
DataObject dataObject =
new
(mockDataObject.Object);
1885
DataObject dataObject =
new
(mockDataObject.Object);
1964
DataObject dataObject =
new
(mockDataObject.Object);
2027
DataObject dataObject =
new
(mockDataObject.Object);
2081
DataObject dataObject =
new
(mockComDataObject.Object);
System\Windows\Forms\ToolStripItemTests.cs (1)
10153
yield return new object[] { new
DataObject
("data"), allowedEffects };
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
272
return new
DataObject
(toolboxItem);