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