5 references to Draw
System.Windows.Forms (1)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
510
public void Draw(Graphics g, Point pt, int index) =>
Draw
(g, pt.X, pt.Y, index);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ImageListTests.cs (4)
976
list.
Draw
(graphics, pt.X, pt.Y, 0);
1025
Assert.Throws<NullReferenceException>(() => list.
Draw
(null, 0, 0, 0));
1040
Assert.Throws<ArgumentOutOfRangeException>("index", () => list.
Draw
(graphics, 0, 0, index));
1056
Assert.Throws<ArgumentOutOfRangeException>("index", () => list.
Draw
(graphics, 0, 0, index));