5 references to Icon
System.Drawing.Common.Tests (2)
System\Drawing\IconTests.cs (2)
235
using Icon icon =
new
(sourceIcon, size);
246
AssertExtensions.Throws<ArgumentNullException, ArgumentException>("original", null, () => new
Icon
((Icon)null, new Size(32, 32)));
System.Windows.Forms (3)
System\Windows\Forms\ErrorProvider\ErrorProvider.IconRegion.cs (1)
20
_icon = new
Icon
(icon, ScaleHelper.LogicalSmallSystemIconSize);
System\Windows\Forms\Form.cs (1)
6356
_smallIcon = new
Icon
(icon, SystemInformation.SmallIconSize);
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
82
using Icon smallIcon =
new
(icon, SystemInformation.SmallIconSize);