6 references to Draw
System.Windows.Forms (1)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
516public void Draw(Graphics g, int x, int y, int index) => Draw(g, x, y, _imageSize.Width, _imageSize.Height, index);
System.Windows.Forms.Tests (5)
System\Windows\Forms\ImageListTests.cs (5)
1001list.Draw(graphics, x, y, width, height, 0); 1016list.Draw(graphics, x, y, width, height, 0); 1028Assert.Throws<NullReferenceException>(() => list.Draw(null, 0, 0, 10, 10, 0)); 1043Assert.Throws<ArgumentOutOfRangeException>("index", () => list.Draw(graphics, 0, 0, 10, 10, index)); 1059Assert.Throws<ArgumentOutOfRangeException>("index", () => list.Draw(graphics, 0, 0, 10, 10, index));