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)
129using Cursor sourceCursor = new(stream);
System\Windows\Forms\CursorTests.cs (5)
67using Cursor cursor = new(stream); 79using Cursor cursor = new(stream); 86Assert.Throws<ArgumentException>("stream", () => new Cursor(new MemoryStream())); 92Assert.Throws<ArgumentNullException>("stream", () => new Cursor((Stream)null)); 111Assert.Throws<ArgumentException>("stream", () => new Cursor(stream));
System\Windows\Forms\EmbeddedResourceTests.cs (1)
236using Cursor cursor = new(stream);