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)
999list.Draw(graphics, x, y, width, height, 0); 1014list.Draw(graphics, x, y, width, height, 0); 1026Assert.Throws<NullReferenceException>(() => list.Draw(null, 0, 0, 10, 10, 0)); 1041Assert.Throws<ArgumentOutOfRangeException>("index", () => list.Draw(graphics, 0, 0, 10, 10, index)); 1057Assert.Throws<ArgumentOutOfRangeException>("index", () => list.Draw(graphics, 0, 0, 10, 10, index));