5 references to Draw
System.Windows.Forms (1)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
510public 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)
976list.Draw(graphics, pt.X, pt.Y, 0); 1025Assert.Throws<NullReferenceException>(() => list.Draw(null, 0, 0, 0)); 1040Assert.Throws<ArgumentOutOfRangeException>("index", () => list.Draw(graphics, 0, 0, index)); 1056Assert.Throws<ArgumentOutOfRangeException>("index", () => list.Draw(graphics, 0, 0, index));