11 references to DataObject
System.Windows.Forms (2)
System\Windows\Forms\OLE\Clipboard.cs (2)
514SetDataObject(new DataObject(format, data), copy: true); 617SetDataObject(new DataObject(ConvertToDataFormats(format), text), copy: true);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\CommandSet.cs (2)
1415IDataObject dataObj = new DataObject(CF_DESIGNER, bytes); 1460IDataObject dataObj = new DataObject(CF_DESIGNER, bytes);
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataObjectTests.cs (1)
2821DataObject native = new(DataFormats.Locale, value);
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
1089DataObject data = new(DataFormats.FileDrop, dropFiles); 1149DataObject data = new(DataFormats.FileDrop, dropFiles);
WinFormsControlsTest (4)
DragDrop.cs (4)
179DataObject data = new(nameof(_nyanCatAscii), _nyanCatAscii); 537DataObject data = new(DataFormats.FileDrop, 555DataObject data = new(nameof(_nyanCatBmp), _nyanCatBmp); 567DataObject data = new(nameof(_nyanCatAscii), _nyanCatAscii);