6 references to DrawIcon
System.Drawing.Common.Tests (4)
mono\System.Drawing\GraphicsTests.cs (4)
2337
Assert.Throws<ArgumentNullException>(() => g.
DrawIcon
(null, new Rectangle(0, 0, 32, 32)));
2345
g.
DrawIcon
(SystemIcons.Application, new Rectangle(0, 0, 40, 20));
2348
g.
DrawIcon
(SystemIcons.Asterisk, new Rectangle(0, 0, 0, 0));
2350
g.
DrawIcon
(SystemIcons.Error, new Rectangle(20, 40, 0, 0));
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
836
g.
DrawIcon
(icon!, imageBounds);
System.Windows.Forms.Design (1)
System\Drawing\Design\IconEditor.cs (1)
132
e.Graphics.
DrawIcon
(icon, rectangle);