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