14 references to Cursor
System.Windows.Forms.Tests (12)
System\Windows\Forms\AxHostTests.cs (1)
1583
using Cursor original =
new
("bitmaps/cursor.cur");
System\Windows\Forms\CursorConverterTests.cs (1)
139
using Cursor sourceCursor =
new
(fileName);
System\Windows\Forms\CursorTests.cs (10)
118
using Cursor cursor =
new
(fileName);
128
Assert.Throws<ArgumentNullException>("path", () => new
Cursor
((string)null));
136
Assert.Throws<ArgumentException>("path", () => new
Cursor
(fileName));
142
Assert.Throws<FileNotFoundException>(() => new
Cursor
("NoSuchFile"));
149
Assert.Throws<ArgumentException>("fileName", () => new
Cursor
(fileName));
327
using Cursor sourceCursor =
new
(Path.Combine("bitmaps", "10x16_one_entry_32bit.ico"));
342
Cursor cursor =
new
(Path.Combine("bitmaps", "10x16_one_entry_32bit.ico"));
378
using Cursor cursor =
new
(Path.Combine("bitmaps", "10x16_one_entry_32bit.ico"));
415
using Cursor cursor =
new
(Path.Combine("bitmaps", "10x16_one_entry_32bit.ico"));
500
using Cursor cursor =
new
(Path.Combine("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");