6 references to Icon
System.Drawing.Common (2)
System\Drawing\Icon.cs (1)
824
/// Without the original source data the <see cref="
Icon
(Icon, Size)">copy constructors</see> have to resample
System\Drawing\ToolboxBitmapAttribute.cs (1)
130
using Icon sizedIco =
new
(ico, large ? s_largeSize : s_smallSize);
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 (2)
System\Windows\Forms\Form.cs (1)
6350
_smallIcon = new
Icon
(icon, SystemInformation.SmallIconSize);
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
82
using Icon smallIcon =
new
(icon, SystemInformation.SmallIconSize);