8 references to Cursor
System.Windows.Forms (1)
System\Windows\Forms\Input\CursorConverter.cs (1)
70return new Cursor(ms);
System.Windows.Forms.Tests (7)
System\Windows\Forms\CursorConverterTests.cs (1)
131using Cursor sourceCursor = new(stream);
System\Windows\Forms\CursorTests.cs (5)
69using Cursor cursor = new(stream); 81using Cursor cursor = new(stream); 88Assert.Throws<ArgumentException>("stream", () => new Cursor(new MemoryStream())); 94Assert.Throws<ArgumentNullException>("stream", () => new Cursor((Stream)null)); 113Assert.Throws<ArgumentException>("stream", () => new Cursor(stream));
System\Windows\Forms\EmbeddedResourceTests.cs (1)
238using Cursor cursor = new(stream);