5 references to Icon
System.Drawing.Common.Tests (2)
System\Drawing\IconTests.cs (2)
235using Icon icon = new(sourceIcon, size); 246AssertExtensions.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)
82using Icon smallIcon = new(icon, SystemInformation.SmallIconSize);