6 references to new
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 (1)
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
460
_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)
407
using Icon icon =
new
(SystemIcons.Exclamation, 16, 16);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
432
return (icon.Width == width && icon.Height == height) ? icon :
new
(icon, width, height);
System.Windows.Forms.Tests (1)
System\Windows\Forms\NotifyIconTests.cs (1)
219
using Icon oldValue =
new
(new Icon("bitmaps/10x16_one_entry_32bit.ico"), 10, 10);