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