5 references to Draw
System.Windows.Forms.Tests (4)
System\Windows\Forms\CursorTests.cs (4)
381
cursor.
Draw
(graphics, rectangle);
391
cursor.
Draw
(graphics, rectangle);
398
Assert.Throws<ArgumentNullException>("graphics", () => cursor.
Draw
(null, new Rectangle(Point.Empty, cursor.Size)));
408
Assert.Throws<ArgumentException>(() => cursor.
Draw
(graphics, new Rectangle(Point.Empty, cursor.Size)));
System.Windows.Forms.UI.IntegrationTests (1)
Infra\ScreenshotService.cs (1)
76
cursor.
Draw
(graphics, bounds);