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)
978
list.
Draw
(graphics, pt.X, pt.Y, 0);
1027
Assert.Throws<NullReferenceException>(() => list.
Draw
(null, 0, 0, 0));
1042
Assert.Throws<ArgumentOutOfRangeException>("index", () => list.
Draw
(graphics, 0, 0, index));
1058
Assert.Throws<ArgumentOutOfRangeException>("index", () => list.
Draw
(graphics, 0, 0, index));