7 references to Bitmap
System.Drawing.Common.Tests (5)
System\Drawing\BitmapTests.cs (5)
224
AssertExtensions.Throws<ArgumentException>(null, () => new
Bitmap
(new Bitmap(1, 1), new Size(width, 1)));
239
AssertExtensions.Throws<ArgumentException>(null, () => new
Bitmap
(new Bitmap(1, 1), new Size(1, height)));
332
using Bitmap bitmap =
new
(image, new Size(width, height));
342
AssertExtensions.Throws<ArgumentNullException>("original", "image", () => new
Bitmap
(null, new Size(1, 2)));
354
AssertExtensions.Throws<ArgumentException>(null, () => new
Bitmap
(image, new Size(1, 1)));
System.Windows.Forms (1)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
336
bitmap = new
Bitmap
(source, ImageSize);
System.Windows.Forms.Design (1)
System\Drawing\Design\ToolboxItem.cs (1)
602
itemBitmap = new
Bitmap
(itemBitmap, new Size(s_iconWidth, s_iconHeight));