9 references to DrawImage
System.Windows.Forms (6)
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (2)
181
t_visualStyleRenderer.
DrawImage
(g, imageBounds, image);
255
t_visualStyleRenderer.
DrawImage
(graphics, imageBounds, image);
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (1)
200
t_visualStyleRenderer.
DrawImage
(g, imageBounds, image);
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (1)
229
t_visualStyleRenderer.
DrawImage
(g, imageBounds, image);
System\Windows\Forms\Controls\TabControl\TabRenderer.cs (2)
100
t_visualStyleRenderer.
DrawImage
(g, imageRectangle, image);
129
t_visualStyleRenderer.
DrawImage
(g, imageRectangle, image);
System.Windows.Forms.Tests (3)
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (3)
270
renderer.
DrawImage
(graphics, bounds, image);
295
Assert.Throws<ArgumentNullException>("g", () => renderer.
DrawImage
(null, new Rectangle(1, 2, 3, 4), image));
306
Assert.Throws<ArgumentNullException>("image", () => renderer.
DrawImage
(graphics, new Rectangle(1, 2, 3, 4), null));