14 references to Cursor
System.Windows.Forms.Tests (12)
System\Windows\Forms\AxHostTests.cs (1)
1585
using Cursor original =
new
("bitmaps/cursor.cur");
System\Windows\Forms\CursorConverterTests.cs (1)
141
using Cursor sourceCursor =
new
(fileName);
System\Windows\Forms\CursorTests.cs (10)
120
using Cursor cursor =
new
(fileName);
130
Assert.Throws<ArgumentNullException>("path", () => new
Cursor
((string)null));
138
Assert.Throws<ArgumentException>("path", () => new
Cursor
(fileName));
144
Assert.Throws<FileNotFoundException>(() => new
Cursor
("NoSuchFile"));
151
Assert.Throws<ArgumentException>("fileName", () => new
Cursor
(fileName));
329
using Cursor sourceCursor =
new
(Path.Join("bitmaps", "10x16_one_entry_32bit.ico"));
344
Cursor cursor =
new
(Path.Join("bitmaps", "10x16_one_entry_32bit.ico"));
380
using Cursor cursor =
new
(Path.Join("bitmaps", "10x16_one_entry_32bit.ico"));
417
using Cursor cursor =
new
(Path.Join("bitmaps", "10x16_one_entry_32bit.ico"));
502
using Cursor cursor =
new
(Path.Join("bitmaps", "10x16_one_entry_32bit.ico"));
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
751
_myNormalCursor = new
Cursor
("./Resources/3dwarro.cur");
752
_myNoDropCursor = new
Cursor
("./Resources/3dwno.cur");