6 references to Icon
System.Drawing.Common.Tests (2)
System\Drawing\IconTests.cs (2)
223
using Icon icon =
new
(sourceIcon, size.Width, size.Height);
245
AssertExtensions.Throws<ArgumentNullException, ArgumentException>("original", null, () => new
Icon
((Icon)null, 32, 32));
System.Windows.Forms (2)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
553
t_defaultIcon = new
Icon
(defaultIcon, width, height);
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
458
_provider.Icon = new
Icon
(icon, (int)(icon.Width * factor), (int)(icon.Height * factor));
System.Windows.Forms.Design.Tests (1)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (1)
405
using Icon icon =
new
(SystemIcons.Exclamation, 16, 16);
System.Windows.Forms.Tests (1)
System\Windows\Forms\NotifyIconTests.cs (1)
217
using Icon oldValue =
new
(new Icon("bitmaps/10x16_one_entry_32bit.ico"), 10, 10);