1594 references to Bitmap
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
72using Bitmap image = new(2, 2);
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
68Bitmap bmp = new Bitmap(bitmapwidth, bitmapheight);
System.Drawing.Common (1)
System\Drawing\Icon.cs (1)
738bitmap = new Bitmap(size.Width, size.Height); // initialized to transparent
System.Drawing.Common.Tests (593)
mono\System.Drawing\BitmapTests.cs (3)
773using Bitmap bmp = new(20, 20); 781using (Bitmap bmp = new(20, 20)) 1143using Bitmap bmp = new(1, 1);
mono\System.Drawing\GraphicsTests.cs (130)
103using Bitmap bmp = new(200, 200); 121using Bitmap bmp = new(200, 200); 150using Bitmap bmp = new(200, 200); 165using Bitmap bmp = new(200, 200); 176using Bitmap bmp = new(200, 200); 203using Bitmap bmp = new(200, 200); 220using Bitmap bmp = new(200, 200); 239using Bitmap bmp = new(200, 200); 280using Bitmap bmp = new(200, 200); 359_bitmap = new Bitmap(width, height); 713using Bitmap bitmap = new(20, 20); 727using Bitmap bitmap = new(20, 20); 737using Bitmap bitmap = new(20, 20); 747using Bitmap bitmap = new(20, 20); 759using Bitmap bitmap = new(20, 20); 771using Bitmap bitmap = new(20, 20); 779using Bitmap bitmap = new(20, 20); 787using Bitmap bitmap = new(20, 20); 798using Bitmap bitmap = new(20, 20); 809using Bitmap bitmap = new(20, 20); 820using Bitmap bitmap = new(20, 20); 832using Bitmap bitmap = new(20, 20); 847using Bitmap bitmap = new(20, 20); 869using Bitmap bitmap = new(20, 20); 884using Bitmap bitmap = new(20, 20); 950using Bitmap bitmap = new(20, 20); 983using Bitmap bitmap = new(20, 20); 1017using Bitmap bitmap = new(20, 20); 1049using Bitmap bitmap = new(20, 20); 1085using Bitmap bitmap = new(20, 20); 1093using Bitmap bitmap = new(20, 20); 1133using Bitmap bitmap = new(20, 20); 1141using Bitmap bitmap = new(20, 20); 1149using Bitmap bitmap = new(20, 20); 1157using Bitmap bitmap = new(20, 20); 1165using Bitmap bitmap = new(20, 20); 1173using Bitmap bitmap = new(20, 20); 1181using Bitmap bitmap = new(20, 20); 1189using Bitmap bitmap = new(20, 20); 1210Bitmap bitmap = new(20, 20); 1374Bitmap bitmap = new(20, 20); 1520Bitmap bitmap = new(20, 20); 1573using Bitmap bitmap = new(20, 20); 1594using Bitmap bitmap = new(20, 20); 1603using Bitmap bitmap = new(20, 20); 1620using Bitmap bitmap = new(20, 20); 1653using Bitmap bitmap = new(20, 20); 1684using Bitmap bitmap = new(20, 20); 1717using Bitmap bitmap = new(20, 20); 1748using Bitmap bitmap = new(20, 20); 1779using Bitmap bitmap = new(20, 20); 1802using Bitmap bitmap = new(20, 20); 1846using Bitmap bitmap = new(20, 20); 1869using Bitmap bitmap = new(20, 20); 1882using Bitmap bitmap = new(20, 20); 1895using Bitmap bitmap = new(20, 20); 1918using Bitmap bitmap = new(20, 20); 1962using Bitmap bitmap = new(20, 20); 1998using Bitmap bitmap = new(20, 20); 2022using Graphics gfx = Graphics.FromImage(new Bitmap(1, 1)); 2056using Graphics gfx = Graphics.FromImage(new Bitmap(1, 1)); 2083using Bitmap bitmap = new(20, 20); 2100using Bitmap bitmap = new(20, 20); 2117using Bitmap bitmap = new(20, 20); 2133using Bitmap b = new(10, 10); 2145using Bitmap b = new(10, 10); 2153using Bitmap b = new(10, 10); 2163using Bitmap b = new(10, 10); 2175using Bitmap b = new(10, 10); 2183using Bitmap b = new(10, 10); 2200using Bitmap bmp = new(100, 100); 2233using Bitmap bmp = new(100, 100); 2278using Bitmap bmp = new(100, 50); 2297using Bitmap bmp = new(100, 50); 2316using Bitmap bmp = new(100, 50); 2335using Bitmap bmp = new(40, 40); 2343using Bitmap bmp = new(40, 40); 2359using Bitmap bmp = new(40, 40); 2367using Bitmap bmp = new(40, 40); 2376using Bitmap bmp = new(40, 40); 2384using Bitmap bmp = new(40, 40); 2400using Bitmap bmp = new(40, 40); 2408using Bitmap bmp = new(40, 40); 2419using Bitmap bmp = new(40, 40); 2427using Bitmap bmp = new(40, 40); 2435using Bitmap bmp = new(40, 40); 2443using Bitmap bmp = new(40, 40); 2451using Bitmap bmp = new(40, 40); 2459using Bitmap bmp = new(40, 40); 2470using Bitmap bmp = new(40, 40); 2478using Bitmap bmp = new(40, 40); 2493using Bitmap bmp = new(40, 40); 2501using Bitmap bmp = new(40, 40); 2509using Bitmap bmp = new(40, 40); 2517using Bitmap bmp = new(40, 40); 2525using Bitmap bmp = new(40, 40); 2533using Bitmap bmp = new(40, 40); 2541using Bitmap bmp = new(40, 40); 2549using Bitmap bmp = new(40, 40); 2557using Bitmap bmp = new(40, 40); 2565using Bitmap bmp = new(40, 40); 2573using Bitmap bmp = new(40, 40); 2581using Bitmap bmp = new(40, 40); 2589using Bitmap bmp = new(40, 40); 2596using Bitmap bmp = new(40, 40); 2626using Bitmap bmp = new(40, 40); 2634using Bitmap bmp = new(40, 40); 2684using Bitmap bmp = new(40, 40); 2692using Bitmap bmp = new(40, 40); 2743using Bitmap bmp = new(40, 40); 2754using Bitmap bmp = new(40, 40); 2763using Bitmap bmp = new(40, 40); 2771using Bitmap bmp = new(40, 40); 2779using Bitmap bmp = new(40, 40); 2787using Bitmap bmp = new(40, 40); 2795using Bitmap bmp = new(40, 40); 2803using Bitmap bmp = new(40, 40); 2811using Bitmap bmp = new(40, 40); 2819using Bitmap bmp = new(40, 40); 2827using Bitmap bmp = new(40, 40); 2835using Bitmap bmp = new(40, 40); 2854using Bitmap bmp = new(20, 20); 2863using Bitmap bmp = new(20, 20); 2871using Bitmap bmp = new(20, 20); 2896using Bitmap bmp = new(20, 20); 2905using Bitmap bmp = new(20, 20); 2913using Bitmap bmp = new(20, 20); 2938using Bitmap bmp = new(10, 10); 2964using Bitmap bmp = new(10, 10); 2982using Bitmap b = new(100, 100);
System\Drawing\BitmapTests.cs (57)
164using Bitmap bitmap = new(width, height); 221AssertExtensions.Throws<ArgumentException>(null, () => new Bitmap(width, 1)); 222AssertExtensions.Throws<ArgumentException>(null, () => new Bitmap(width, 1, Graphics.FromImage(new Bitmap(1, 1)))); 223AssertExtensions.Throws<ArgumentException>(null, () => new Bitmap(new Bitmap(1, 1), width, 1)); 224AssertExtensions.Throws<ArgumentException>(null, () => new Bitmap(new Bitmap(1, 1), new Size(width, 1))); 236AssertExtensions.Throws<ArgumentException>(null, () => new Bitmap(1, height)); 237AssertExtensions.Throws<ArgumentException>(null, () => new Bitmap(1, height, Graphics.FromImage(new Bitmap(1, 1)))); 238AssertExtensions.Throws<ArgumentException>(null, () => new Bitmap(new Bitmap(1, 1), 1, height)); 239AssertExtensions.Throws<ArgumentException>(null, () => new Bitmap(new Bitmap(1, 1), new Size(1, height))); 349Bitmap image = new(1, 1); 425using Bitmap bitmap = new(3, 3); 439using Bitmap bitmap = new(3, 3); 455using Bitmap bitmap = new(1, 1); 471using Bitmap bitmap = new(1, 1); 481Bitmap bitmap = new(1, 1); 492using Bitmap bitmap = new(1, 1); 502Bitmap bitmap = new(1, 1); 514using Bitmap bitmap = new(1, 1); 524Bitmap bitmap = new(1, 1); 558using Bitmap bitmap = new(1, 1); 567using Bitmap bitmap = new(1, 1); 581Bitmap bitmap = new(1, 1); 646Bitmap bitmap = new(1, 1); 719Bitmap bitmap = new(1, 1); 788using Bitmap bitmap = new(10, 10); 824using Bitmap bitmap = new(10, 10); 860using Bitmap bitmap = new(10, 10); 882Bitmap bitmap = new(1, 1); 941using Bitmap bitmap = new(1, 1); 950using Bitmap bitmap = new(1, 1); 964Bitmap bitmap = new(1, 1); 976using Bitmap bitmap = new(1, 1); 987using Bitmap bitmap = new(1, 1); 998using Bitmap bitmap = new(1, 1); 1005Bitmap bitmap = new(1, 1); 1094using Bitmap bitmap = new(1, 1); 1112using Bitmap bitmap = new(2, 2); 1131using Bitmap bitmap = new(1, 1); 1145using Bitmap bitmap = new(1, 1); 1162using Bitmap bitmap = new(1, 1); 1173Bitmap bitmap = new(1, 1); 1185using Bitmap bitmap = new(1, 1); 1201using Bitmap bitmap = new(2, 2); 1212using Bitmap bitmap = new(1, 1); 1224using Bitmap bitmap = new(1, 1); 1234using Bitmap bitmap = new(1, 1); 1241using Bitmap bitmap = new(1, 1); 1248using Bitmap bitmap = new(1, 1); 1258Bitmap bitmap = new(1, 1); 1267Bitmap bitmap = new(1, 1); 1446using Bitmap bitmap = new(1, 1); 1453Bitmap bitmap = new(1, 1); 1567using (Bitmap bitmap = new(100, 100)) 1589using (Bitmap bitmap = new(100, 100)) 1651using Bitmap bitmap = new(1, 1); 1660using Bitmap bitmap = new(1, 1); 1685using Bitmap bitmap = new(1, 1);
System\Drawing\BufferedGraphicsContextTests.cs (11)
21using Bitmap image = new(10, 10); 33using Bitmap image = new(10, 10); 45using Bitmap image = new(10, 10); 57using Bitmap image = new(10, 10); 79using Bitmap image = new(10, 10); 101using Bitmap image = new(10, 10); 138using Bitmap image = new(10, 10); 146using Bitmap image = new(10, 10); 159using Bitmap image = new(10, 10); 229using Bitmap image = new(10, 10); 241using Bitmap image = new(10, 10);
System\Drawing\BufferedGraphicsTests.cs (7)
12using Bitmap image = new(3, 3); 27using Bitmap image = new(3, 3); 44using Bitmap image = new(3, 3); 64using Bitmap image = new(3, 3); 87using Bitmap originalImage = new(3, 3); 88using Bitmap targetImage = new(3, 3); 109using Bitmap image = new(3, 3);
System\Drawing\Drawing2D\GraphicsPathTests.cs (7)
1754using Bitmap bitmap = new(20, 20); 1762using Bitmap bitmap = new(5, 5); 1770using Bitmap bitmap = new(20, 20); 1780using Bitmap bitmap = new(20, 20); 1789using Bitmap bitmap = new(20, 20); 1810using Bitmap bitmap = new(40, 40); 1824using Bitmap bitmap = new(40, 40);
System\Drawing\FontFamilyTests.cs (1)
97using Bitmap image = new(10, 10);
System\Drawing\FontTests.cs (11)
467using Bitmap image = new(10, 10); 502using Bitmap image = new(10, 10); 534using Bitmap image = new(10, 10); 545using Bitmap image = new(10, 10); 591using Bitmap image = new(10, 10); 616using Bitmap image = new(10, 10); 635using Bitmap image = new(10, 10); 736using Bitmap image = new(10, 10); 764using Bitmap image = new(10, 10); 783using Bitmap image = new(10, 10); 840using Bitmap image = new(10, 10);
System\Drawing\GdiPlusHandlesTests.cs (1)
24using Bitmap bmp = new(100, 100);
System\Drawing\Graphics_DrawBezierTests.cs (13)
11using Bitmap bitmap = new(100, 100); 25using Bitmap bitmap = new(100, 100); 44using Bitmap bitmap = new(100, 100); 63using Bitmap image = new(10, 10); 73using Bitmap image = new(10, 10); 86using Bitmap image = new(10, 10); 105using Bitmap image = new(10, 10); 119using Bitmap image = new(10, 10); 128using Bitmap image = new(10, 10); 140using Bitmap image = new(10, 10); 150using Bitmap image = new(10, 10); 160using Bitmap image = new(10, 10); 178using Bitmap image = new(10, 10);
System\Drawing\Graphics_DrawLineTests.cs (12)
11using Bitmap bitmap = new(100, 100); 26using Bitmap bitmap = new(100, 100); 41using Bitmap image = new(10, 10); 52using Bitmap image = new(10, 10); 66using Bitmap image = new(10, 10); 86using Bitmap image = new(10, 10); 100using Bitmap image = new(10, 10); 109using Bitmap image = new(10, 10); 121using Bitmap image = new(10, 10); 133using Bitmap image = new(10, 10); 143using Bitmap image = new(10, 10); 161using Bitmap image = new(10, 10);
System\Drawing\Graphics_GetContextTests.Core.cs (7)
14using Bitmap image = new(10, 10); 27using Bitmap image = new(10, 10); 45using Bitmap image = new(10, 10); 60using Bitmap image = new(10, 10); 79using Bitmap image = new(10, 10); 98using Bitmap image = new(10, 10); 119using Bitmap image = new(10, 10);
System\Drawing\Graphics_GetContextTests.cs (7)
14using Bitmap image = new(10, 10); 31using Bitmap image = new(10, 10); 46using Bitmap image = new(10, 10); 62using Bitmap image = new(10, 10); 80using Bitmap image = new(10, 10); 98using Bitmap image = new(10, 10); 119using Bitmap image = new(10, 10);
System\Drawing\GraphicsTests.Core.cs (14)
16using Bitmap image = new(5, 5); 25using Bitmap image = new(10, 10); 42using Bitmap image = new(10, 10); 53using Bitmap image = new(10, 10); 73using Bitmap image = new(10, 10); 83using Bitmap image = new(10, 10); 96using Bitmap image = new(10, 10); 114using Bitmap image = new(10, 10); 127using Bitmap image = new(10, 10); 137using Bitmap image = new(10, 10); 150using Bitmap image = new(10, 10); 161using Bitmap image = new(10, 10); 172using Bitmap image = new(10, 10); 190using Bitmap image = new(10, 10);
System\Drawing\GraphicsTests.cs (187)
21using Bitmap bitmap = new(10, 10); 40using Bitmap bitmap = new(10, 10); 57using Bitmap bitmap = new(10, 10); 73using Bitmap bitmap = new(10, 10); 135using Bitmap bitmap = new(10, 10); 156using Bitmap bitmap = new(10, 10); 170using Bitmap bitmap1 = new(10, 10); 171using Bitmap bitmap2 = new(10, 10); 188using Bitmap bitmap = new(10, 10); 198using Bitmap bitmap = new(10, 10); 276Bitmap image = new(10, 10); 313using Bitmap image = new(3, 3); 315using Bitmap targetImage = new(3, 3); 337using Bitmap image = new(10, 10); 345using Bitmap image = new(10, 10); 362using Bitmap image = new(10, 10); 405using Bitmap image = new(3, 3); 421using Bitmap image = new(10, 10); 429using Bitmap image = new(10, 10); 446using Bitmap image = new(10, 10); 457using Bitmap bitmap = new(10, 10); 469using Bitmap bitmap = new(10, 10); 483using Bitmap image = new(10, 10); 499using Bitmap image = new(10, 10); 509using Bitmap image = new(10, 10); 525using Bitmap image = new(10, 10); 539using Bitmap image = new(10, 10); 554using Bitmap image = new(10, 10); 571using Bitmap image = new(10, 10); 590using Bitmap image = new(10, 10); 601using Bitmap image = new(10, 10); 609using Bitmap image = new(10, 10); 617using Bitmap image = new(10, 10); 634using Bitmap image = new(10, 10); 648using Bitmap image = new(10, 10); 662using Bitmap image = new(10, 10); 670using Bitmap image = new(10, 10); 687using Bitmap image = new(10, 10); 704using Bitmap image = new(10, 10); 715using Bitmap image = new(10, 10); 723using Bitmap image = new(10, 10); 731using Bitmap image = new(10, 10); 748using Bitmap image = new(10, 10); 764using Bitmap image = new(10, 10); 775using Bitmap image = new(10, 10); 783using Bitmap image = new(10, 10); 791using Bitmap image = new(10, 10); 808using Bitmap image = new(10, 10); 860using Bitmap image = new(3, 3); 873using Bitmap image = new(10, 10); 890using Bitmap image = new(10, 10); 906using Bitmap image = new(10, 10); 917using Bitmap image = new(10, 10); 925using Bitmap image = new(10, 10); 933using Bitmap image = new(10, 10); 950using Bitmap image = new(10, 10); 964using Bitmap image = new(10, 10); 975using Bitmap image = new(10, 10); 983using Bitmap image = new(10, 10); 1000using Bitmap image = new(10, 10); 1017using Bitmap image = new(10, 10); 1028using Bitmap image = new(10, 10); 1036using Bitmap image = new(10, 10); 1053using Bitmap image = new(10, 10); 1067using Bitmap image = new(5, 5); 1090using Bitmap image = new(10, 10); 1098using Bitmap image = new(10, 10); 1109using Bitmap image = new(5, 5); 1118using Bitmap image = new(10, 10); 1136using Bitmap image = new(10, 10); 1148using Bitmap image = new(10, 10); 1161using Bitmap image = new(10, 10); 1177using Bitmap image = new(10, 10); 1187using Bitmap image = new(10, 10); 1204using Bitmap image = new(10, 10); 1219using Bitmap image = new(10, 10); 1243using Bitmap image = new(10, 10); 1255using Bitmap image = new(10, 10); 1264using Bitmap image = new(10, 10); 1282using Bitmap image = new(10, 10); 1297using Bitmap image = new(10, 10); 1317using Bitmap image = new(10, 10); 1333using Bitmap image = new(10, 10); 1341using Bitmap image = new(10, 10); 1358using Bitmap image = new(10, 10); 1371using Bitmap image = new(10, 10); 1389using Bitmap image = new(10, 10); 1403using Bitmap image = new(10, 10); 1414using Bitmap image = new(10, 10); 1422using Bitmap image = new(10, 10); 1439using Bitmap image = new(10, 10); 1454using Bitmap image = new(10, 10); 1474using Bitmap image = new(10, 10); 1490using Bitmap image = new(10, 10); 1498using Bitmap image = new(10, 10); 1515using Bitmap image = new(10, 10); 1538using Bitmap image = new(10, 10); 1555using Bitmap image = new(10, 10); 1607using Bitmap image = new(10, 10); 1618using Bitmap image = new(10, 10); 1646using Bitmap image = new(10, 10); 1654using Bitmap image = new(10, 10); 1674using Bitmap image = new(10, 10); 1739using Bitmap image = new(10, 10); 1804using Bitmap image = new(10, 10); 1820using Bitmap image = new(10, 10); 1836using Bitmap image = new(10, 10); 1851using Bitmap image = new(10, 10); 1862using Bitmap image = new(10, 10); 1871using Bitmap image = new(10, 10); 1880using Bitmap image = new(10, 10); 1889using Bitmap image = new(10, 10); 1906using Bitmap image = new(10, 10); 1932using Bitmap image = new(10, 10); 1948using Bitmap image = new(10, 10); 1958using Bitmap image = new(10, 10); 1969using Bitmap image = new(10, 10); 1983using Bitmap image = new(10, 10); 1995using Bitmap image = new(10, 10); 2007using Bitmap image = new(10, 10); 2027using Bitmap image = new(10, 10); 2041using Bitmap image = new(10, 10); 2051using Bitmap image = new(10, 10); 2064using Bitmap image = new(10, 10); 2083using Bitmap image = new(10, 10); 2096using Bitmap image = new(10, 10); 2105using Bitmap image = new(10, 10); 2117using Bitmap image = new(10, 10); 2127using Bitmap image = new(10, 10); 2137using Bitmap image = new(10, 10); 2155using Bitmap image = new(10, 10); 2167using Bitmap image = new(10, 10); 2178using Bitmap image = new(10, 10); 2192using Bitmap image = new(10, 10); 2212using Bitmap image = new(10, 10); 2226using Bitmap image = new(10, 10); 2237using Bitmap image = new(10, 10); 2251using Bitmap image = new(10, 10); 2263using Bitmap image = new(10, 10); 2275using Bitmap image = new(10, 10); 2295using Bitmap image = new(10, 10); 2309using Bitmap image = new(10, 10); 2318using Bitmap image = new(10, 10); 2330using Bitmap image = new(10, 10); 2342using Bitmap image = new(10, 10); 2352using Bitmap image = new(10, 10); 2370using Bitmap image = new(10, 10); 2382using Bitmap image = new(10, 10); 2391using Bitmap image = new(10, 10); 2403using Bitmap image = new(10, 10); 2412using Bitmap image = new(10, 10); 2424using Bitmap image = new(10, 10); 2442using Bitmap image = new(10, 10); 2454using Bitmap image = new(10, 10); 2468using Bitmap image = new(10, 10); 2485using Bitmap image = new(10, 10); 2502using Bitmap image = new(10, 10); 2522using Bitmap image = new(10, 10); 2533using Bitmap image = new(10, 10); 2556using Bitmap image = new(10, 10); 2573using Bitmap image = new(10, 10); 2584using Bitmap image = new(10, 10); 2598using Bitmap image = new(10, 10); 2613using Bitmap image = new(10, 10); 2625using Bitmap image = new(10, 10); 2645using Bitmap image = new(10, 10); 2659using Bitmap image = new(10, 10); 2669using Bitmap image = new(10, 10); 2682using Bitmap image = new(10, 10); 2693using Bitmap image = new(10, 10); 2704using Bitmap image = new(10, 10); 2723using Bitmap image = new(10, 10); 2738using Bitmap image = new(2, 2); 2754using Bitmap image = new(10, 10); 2771using Bitmap image = new(10, 10); 2782using Bitmap image = new(50, 50); 2791using Bitmap image = new(10, 10); 2824using Bitmap bitmap = new(100, 100); 2864using Bitmap bitmap = new(10, 10); 2873using Bitmap bitmap = new(10, 10); 2884using Bitmap bitmap = new(10, 10); 2894using Bitmap bitmap = new(10, 10); 2905using Bitmap bitmap = new(10, 10); 2972using Bitmap bitmap = new(10, 10); 2981using Bitmap bitmap = new(10, 10); 2990using Bitmap bitmap = new(10, 10); 2999using Bitmap bitmap = new(10, 10);
System\Drawing\IconConverterTests.cs (2)
114Assert.Throws<NotSupportedException>(() => _icoConv.ConvertFrom(null, CultureInfo.InvariantCulture, new Bitmap(20, 20))); 126Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new Bitmap(20, 20)));
System\Drawing\IconTests.cs (1)
614using (Bitmap bitmap = new(10, 10))
System\Drawing\ImageConverterTests.cs (3)
141Assert.Throws<NotSupportedException>(() => _imgConv.ConvertFrom(null, CultureInfo.InvariantCulture, new Bitmap(20, 20))); 148Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new Bitmap(20, 20))); 188Bitmap value = new(64, 64);
System\Drawing\ImageTests.cs (9)
34using Bitmap bitmap = new(1, 1); 92using Bitmap bitmap = new(1, 1); 114using Bitmap bitmap = new(1, 1); 135using Bitmap bitmap = new(1, 1); 182using Bitmap bitmap = new(1, 1); 206using Bitmap bitmap = new(1, 1); 231using Bitmap bitmap = new(1, 1); 654using Bitmap bitmap = new(1, 1); 665using Bitmap bitmap = new(1, 1);
System\Drawing\Imaging\CachedBitmapTests.cs (1)
12using Bitmap bitmap = new(10, 10);
System\Drawing\Imaging\Effects\EffectsTests.cs (17)
11using Bitmap bitmap = new(10, 10); 33using Bitmap bitmap = new(10, 10); 58using Bitmap bitmap = new(10, 10); 80using Bitmap bitmap = new(10, 10); 106using Bitmap bitmap = new(10, 10); 132using Bitmap bitmap = new(10, 10); 158using Bitmap bitmap = new(10, 10); 181using Bitmap bitmap = new(10, 10); 240using Bitmap bitmap = new(10, 10); 253using Bitmap bitmap = new(10, 10); 273using Bitmap bitmap = new(10, 10); 293using Bitmap bitmap = new(10, 10); 313using Bitmap bitmap = new(10, 10); 333using Bitmap bitmap = new(10, 10); 353using Bitmap bitmap = new(10, 10); 372using Bitmap bitmap = new(10, 10); 394using Bitmap bitmap = new(10, 10);
System\Drawing\Imaging\ImageAttributesTests.cs (47)
70using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 94using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 127using Bitmap bitmapBig = new(200, 100); 128using Bitmap bitmapSmall = new(100, 100); 147using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 171using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 202using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 273using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 298using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 342using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 365using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 392using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 421using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 482using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 495using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 508using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 537using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 551using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 581using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 594using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 607using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 638using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 669using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 684using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 717using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 734using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 751using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 785using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 800using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 815using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 848using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 863using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 904using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 930using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 960using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1009using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1024using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1056using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1122using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1138using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1171using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1184using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1197using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1248using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1262using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1307using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1322using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height);
System\Drawing\PenTests.cs (1)
16yield return new object[] { new TextureBrush(new Bitmap(1, 1)), PenType.TextureFill };
System\Drawing\Printing\PrintDocumentTests.cs (1)
281using Bitmap bitmap = new(20, 20);
System\Drawing\Printing\PrinterSettingsTests.cs (1)
409using Bitmap bitmap = new(10, 10);
System\Drawing\RegionTests.cs (7)
32private static readonly Graphics s_graphic = Graphics.FromImage(new Bitmap(1, 1)); 478using Graphics graphics = Graphics.FromImage(new Bitmap(600, 800)); 607using Bitmap image = new(10, 10); 988using Bitmap image = new(10, 10); 1289using Bitmap image = new(10, 10); 1328using (Bitmap image = new(10, 10)) 1382using (Bitmap image = new(10, 10))
System\Drawing\TextureBrushTests.cs (35)
13yield return new object[] { new Bitmap(10, 10), PixelFormat.Format32bppPArgb, new Size(10, 10) }; 81yield return new object[] { new Bitmap(10, 10), new Rectangle(0, 0, 10, 10) }; 82yield return new object[] { new Bitmap(10, 10), new Rectangle(5, 5, 5, 5) }; 254Bitmap image = new(10, 10); 272using Bitmap image = new(10, 10); 290using Bitmap image = new(10, 10); 302using Bitmap image = new(10, 10); 314using Bitmap image = new(10, 10); 324using Bitmap image = new(10, 10); 345using Bitmap image = new(10, 10); 371using Bitmap image = new(10, 10); 380using Bitmap image = new(10, 10); 390using Bitmap image = new(10, 10); 409using Bitmap image = new(10, 10); 422using Bitmap image = new(10, 10); 434using Bitmap image = new(10, 10); 449using Bitmap image = new(10, 10); 474using Bitmap image = new(10, 10); 501using Bitmap image = new(10, 10); 509using Bitmap image = new(10, 10); 538using Bitmap image = new(10, 10); 565using Bitmap image = new(10, 10); 573using Bitmap image = new(10, 10); 585using Bitmap image = new(10, 10); 595using Bitmap image = new(10, 10); 603using Bitmap image = new(10, 10); 614using Bitmap image = new(10, 10); 643using Bitmap image = new(10, 10); 670using Bitmap image = new(10, 10); 678using Bitmap image = new(10, 10); 695using Bitmap image = new(10, 10); 706using Bitmap image = new(10, 10); 714using Bitmap image = new(10, 10); 805using Bitmap brushBitmap = new(2, 2); 812using Bitmap targetImage = new(4, 4);
System.Windows.Forms (17)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
75using Bitmap bitmap = new(2, 2);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
308Bitmap bitmap = new(fullSize.Width, fullSize.Height);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1359Bitmap bitmap = new(fullSize.Width, fullSize.Height);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
834bmFlipXPThemes = FlipXPThemesBitmap = new Bitmap(backgroundBounds.Width, backgroundBounds.Height);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
702using Bitmap bmFlipXPThemes = new(backgroundBounds.Height, backgroundBounds.Width);
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
659result = new Bitmap(_imageSize.Width, _imageSize.Height);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
951return new Bitmap(size.Width, size.Height);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2651using Bitmap image = new(bounds.Width, bounds.Height);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
707Bitmap image = new(16, 16);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
1035Bitmap disabledBitmap = new(size.Width, size.Height);
System\Windows\Forms\Rendering\ControlPaint.cs (7)
1367Bitmap bitmap = new(rectangle.Width, rectangle.Height); 1437using Bitmap bitmap = new(width, height); 1533using Bitmap bitmap = new(width, height); 1632using Bitmap bitmap = new(image.Width, image.Height); 2092using Bitmap bitmap = new(patternSize, patternSize); 2143using Bitmap b = new(2, 2); 2222using Bitmap bitmap = new(patternSize, patternSize);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
290_swatch = new Bitmap(width, height);
System.Windows.Forms.Design.Tests (35)
System\ComponentModel\Design\ByteViewerTests.cs (4)
427using Bitmap image = new(10, 10); 468using Bitmap image = new(10, 10); 513using Bitmap image = new(10, 10); 543using Bitmap image = new(10, 10);
System\Drawing\Design\BitmapEditorTests.cs (1)
75using Bitmap image = new(10, 10);
System\Drawing\Design\FontNameEditorTests.cs (1)
86using (Bitmap bitmap = new(1, 1))
System\Drawing\Design\ImageEditorTests.cs (4)
132using Bitmap image = new(10, 10); 162using Bitmap image = new(10, 10); 163using Bitmap otherImage = new(3, 2); 187using Bitmap image = new(10, 10);
System\Drawing\Design\MetafileEditorTests.cs (1)
59using Bitmap image = new(10, 10);
System\Drawing\Design\ToolboxItemTests.cs (9)
103yield return new object[] { new Bitmap(10, 10) }; 1339using Bitmap bitmap = new(10, 10); 1340using Bitmap originalBitmap = new(10, 10); 1385using Bitmap bitmap = new(10, 10); 1386using Bitmap originalBitmap = new(10, 10); 1414using Bitmap bitmap = new(10, 10); 1415using Bitmap originalBitmap = new(10, 10); 1539Bitmap bitmap = new(10, 10); 1543Bitmap originalBitmap = new(10, 10);
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (1)
326using Bitmap bitmap = new(10, 10);
System\Windows\Forms\Design\DataSourceDescriptorCollectionTests.cs (1)
107public override Bitmap Image => new(1, 1);
System\Windows\Forms\Design\DataSourceGroupCollectionTests.cs (1)
102public override Bitmap Image => new(1, 1);
System\Windows\Forms\Design\DesignBindingValueUIHandlerTests.cs (1)
20using Bitmap bitmap = new(10, 10);
System\Windows\Forms\Design\ImageCollectionCodeDomSerializerTests.cs (2)
88imageList.Images.Add("Key1", new Bitmap(1, 1)); 89imageList.Images.Add("Key2", new Bitmap(1, 1));
System\Windows\Forms\Design\ImageIndexEditorTests.cs (1)
33using Bitmap bitmap = new(10, 10);
System\Windows\Forms\Design\ImageListDesignerOriginalImageCollectionTests.cs (1)
14private readonly Image _image = new Bitmap(10, 10);
System\Windows\Forms\Design\ImageListImageEditorTests.cs (1)
20using Bitmap image = new(10, 10);
System\Windows\Forms\Design\ImageListImageTests.cs (5)
13using Bitmap bitmap = new(10, 10); 23using Bitmap bitmap = new(10, 10); 34using Bitmap bitmap = new(10, 10); 47using Bitmap bitmap = new(10, 10); 59using Bitmap bitmap = new(10, 10);
System\Windows\Forms\Design\ToolStripMenuItemCodeDomSerializerTests.cs (1)
142using Image testImage = new Bitmap(1, 1);
System.Windows.Forms.Primitives.Tests (23)
Interop\Ole32\IPictureTests.cs (1)
84using Bitmap bitmap = new(100, 200);
Interop\Oleaut32\ITypeInfoTests.cs (16)
18using Bitmap image = new(16, 32); 32using Bitmap image = new(16, 32); 46using Bitmap image = new(16, 32); 62using Bitmap image = new(16, 32); 82using Bitmap image = new(16, 32); 102using Bitmap image = new(16, 32); 136using Bitmap image = new(16, 32); 160using Bitmap image = new(16, 32); 174using Bitmap image = new(16, 32); 188using Bitmap image = new(16, 32); 210using Bitmap image = new(16, 32); 227using Bitmap image = new(16, 32); 241using Bitmap image = new(16, 32); 280using Bitmap image = new(16, 32); 293using Bitmap image = new(16, 32); 322using Bitmap image = new(16, 32);
System\Windows\Forms\DeviceContextHdcScopeTests.cs (2)
15using Bitmap b = new(10, 10); 248using Bitmap b = new(10, 10);
Windows\Win32\System\Com\IDispatchTests.cs (4)
16using Bitmap image = new(16, 32); 40using Bitmap image = new(16, 16); 51using Bitmap image = new(16, 16); 63using Bitmap image = new(16, 32);
System.Windows.Forms.Tests (916)
CheckedListBoxTests.cs (6)
421using Bitmap image = new(10, 10); 443using Bitmap image = new(10, 10); 464using Bitmap image = new(10, 10); 475using Bitmap image = new(10, 10); 488using Bitmap image = new(10, 10); 815using Bitmap image = new(10, 10);
SerializableTypesTests.cs (1)
83imageList.Images.Add(new Bitmap(16, 16));
System\Drawing\Design\PaintValueEventArgsTests.cs (1)
24using Bitmap image = new(10, 10);
System\Drawing\Design\PropertyValueUIItemTests.cs (4)
15yield return new object[] { new Bitmap(10, 10), (PropertyValueUIItemInvokeHandler)Dummy_PropertyValueUIItemInvokeHandler, null }; 16yield return new object[] { new Bitmap(10, 10), (PropertyValueUIItemInvokeHandler)Dummy_PropertyValueUIItemInvokeHandler, string.Empty }; 17yield return new object[] { new Bitmap(10, 10), (PropertyValueUIItemInvokeHandler)Dummy_PropertyValueUIItemInvokeHandler, "tooltip" }; 39using Bitmap uiItemImage = new(10, 10);
System\Drawing\Design\UITypeEditorTests.cs (4)
102Bitmap bitmap = new(10, 10); 112using Bitmap image = new(10, 10); 120Bitmap bitmap = new(10, 10); 134using (Bitmap image = new(10, 10))
System\Resources\ResxDataNodeTests.cs (2)
27using Bitmap bitmap = new(10, 10); 41using Bitmap bitmap = new(10, 10);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (1)
190using Image image = new Bitmap(1, 1);
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
103using Bitmap image = new(10, 10);
System\Windows\Forms\AxHostTests.cs (2)
1609Bitmap original = new(10, 11); 1669Bitmap original = new(10, 11);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (5)
122using Bitmap bitmap = new(10, 10); 139using Bitmap bitmap = new(10, 10); 155using Bitmap bitmap = new(10, 10); 176using Bitmap image = new(10, 10); 200using Bitmap image = new(10, 10);
System\Windows\Forms\ButtonBaseTests.cs (30)
817foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 891foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 1387yield return new object[] { autoSize, enabled, visible, new Bitmap(10, 10) }; 1434using Bitmap value = new(10, 10); 1458using Bitmap value = new(10, 10); 1484using Bitmap value = new(10, 10); 1539yield return new object[] { true, enabled, visible, new Bitmap(10, 10), 1 }; 1541yield return new object[] { false, enabled, visible, new Bitmap(10, 10), 0 }; 1603yield return new object[] { autoSize, enabled, visible, new Bitmap(10, 10), 2 }; 1706yield return new object[] { true, enabled, visible, new Bitmap(10, 10), 1, 2 }; 1708yield return new object[] { false, enabled, visible, new Bitmap(10, 10), 0, 2 }; 1782using Bitmap image = new(10, 10); 1801using Bitmap image = new(10, 10); 1829using Bitmap image = new(10, 10); 2079using Bitmap image = new(10, 10); 2153using Bitmap image1 = new(10, 10); 2154using Bitmap image2 = new(10, 10); 2238using Bitmap image = new(10, 10); 2304using Bitmap image1 = new(10, 10); 2305using Bitmap image2 = new(10, 10); 2387using Bitmap image = new(10, 10); 2800foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 4344foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 4418foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 5105foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 5196foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 6934foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 7025foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 7364foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 7455foreach (Image image in new Image[] { null, new Bitmap(10, 10) })
System\Windows\Forms\ButtonTests.cs (2)
3425using Bitmap image = new(10, 10); 3498using Bitmap image = new(10, 10);
System\Windows\Forms\ClipboardTests.cs (2)
391using Bitmap bitmap = new(10, 10); 446using Bitmap bitmap = new(10, 10);
System\Windows\Forms\ColumnHeaderTests.cs (8)
374using Bitmap image1 = new(10, 10); 375using Bitmap image2 = new(10, 10); 460using Bitmap image1 = new(10, 10); 461using Bitmap image2 = new(10, 10); 593using Bitmap image1 = new(10, 10); 594using Bitmap image2 = new(10, 10); 682using Bitmap image1 = new(10, 10); 683using Bitmap image2 = new(10, 10);
System\Windows\Forms\ComboBoxTests.cs (10)
387using Bitmap bitmap = new(100, 100); 530using Bitmap image1 = new(10, 10); 541using Bitmap image2 = new(10, 10); 725using Bitmap bitmap = new(1, 1); 748using Bitmap bitmap = new(1, 1); 768using Bitmap bitmap = new(1, 1); 1969using Bitmap image = new(10, 10); 2006using Bitmap image = new(10, 10); 2066using Bitmap image = new(10, 10); 2110using Bitmap image = new(10, 10);
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (1)
161using Bitmap bitmap = new(42, 70);
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (3)
25using Bitmap bitmap = new(10, 20); 35using Bitmap bitmap = new(10, 20); 84using Bitmap bitmap = new(10, 20);
System\Windows\Forms\ControlPaintTests.cs (82)
56using Bitmap bitmap = new(3, 1); 127using Bitmap mask = new(3, 1); 134using Bitmap bitmap = new(3, 1); 167using Bitmap bitmap = new(3, 1); 235using Bitmap bitmap = new(3, 1); 276using Bitmap bitmap = new(1, 1); 563using Bitmap image = new(10, 10); 576using Bitmap image = new(10, 10); 622using Bitmap image = new(10, 10); 664using Bitmap image = new(10, 10); 702using Bitmap image = new(10, 10); 727using Bitmap image = new(10, 10); 755using Bitmap image = new(10, 10); 767using Bitmap image = new(10, 10); 779using Bitmap image = new(10, 10); 791using Bitmap image = new(10, 10); 827using Bitmap image = new(10, 10); 839using Bitmap image = new(10, 10); 865using Bitmap image = new(10, 10); 876using Bitmap image = new(10, 10); 887using Bitmap image = new(10, 10); 911using Bitmap image = new(10, 10); 923using Bitmap image = new(10, 10); 948using Bitmap image = new(10, 10); 959using Bitmap image = new(10, 10); 970using Bitmap image = new(10, 10); 991using Bitmap image = new(10, 10); 1003using Bitmap image = new(10, 10); 1029using Bitmap image = new(10, 10); 1040using Bitmap image = new(10, 10); 1051using Bitmap image = new(10, 10); 1072using Bitmap image = new(10, 10); 1084using Bitmap image = new(10, 10); 1109using Bitmap image = new(10, 10); 1120using Bitmap image = new(10, 10); 1131using Bitmap image = new(10, 10); 1151using Bitmap image = new(10, 10); 1179using Bitmap image = new(10, 10); 1210using Bitmap image = new(10, 10); 1245using Bitmap image = new(10, 10); 1282using Bitmap image = new(10, 10); 1303using Bitmap image = new(10, 10); 1310yield return new object[] { new Bitmap(10, 10), -10, -20, Color.Red }; 1311yield return new object[] { new Bitmap(10, 10), 0, 0, Color.Red }; 1312yield return new object[] { new Bitmap(10, 10), 1, 2, Color.Red }; 1313yield return new object[] { new Bitmap(10, 10), 0, 0, Color.Black }; 1314yield return new object[] { new Bitmap(10, 10), 0, 0, Color.White }; 1315yield return new object[] { new Bitmap(10, 10), 0, 0, Color.Transparent }; 1316yield return new object[] { new Bitmap(10, 10), 0, 0, Color.Empty }; 1331using Bitmap sourceImage = new(10, 10); 1342using Bitmap image = new(10, 10); 1349using Bitmap image = new(10, 10); 1371using Bitmap image = new(10, 10); 1402using Bitmap image = new(10, 10); 1434using Bitmap image = new(10, 10); 1446using Bitmap image = new(10, 10); 1458using Bitmap image = new(10, 10); 1488using Bitmap image = new(10, 10); 1500using Bitmap image = new(10, 10); 1512using Bitmap image = new(10, 10); 1533using Bitmap image = new(10, 10); 1545using Bitmap image = new(10, 10); 1570using Bitmap image = new(10, 10); 1581using Bitmap image = new(10, 10); 1592using Bitmap image = new(10, 10); 1613using Bitmap image = new(10, 10); 1625using Bitmap image = new(10, 10); 1650using Bitmap image = new(10, 10); 1661using Bitmap image = new(10, 10); 1672using Bitmap image = new(10, 10); 1751using Bitmap image = new(10, 10); 1763using Bitmap image = new(10, 10); 1788using Bitmap image = new(10, 10); 1799using Bitmap image = new(10, 10); 1810using Bitmap image = new(10, 10); 1836using Bitmap image = new(10, 10); 1871using Bitmap image = new(10, 10); 1883using Bitmap image = new(10, 10); 1919using Bitmap image = new(10, 10); 1931using Bitmap image = new(10, 10); 1967using Bitmap image = new(10, 10); 1996using Bitmap image = new(10, 10);
System\Windows\Forms\ControlTests.Handlers.cs (12)
381BackgroundImage = new Bitmap(10, 10) 385BackgroundImage = new Bitmap(10, 10) 3856using Bitmap image = new(10, 10); 3978using Bitmap image = new(10, 10); 4028using Bitmap image = new(10, 10); 4105using Bitmap image = new(10, 10); 4279Bitmap image = new(10, 10); 4638using Bitmap image = new(10, 10); 4657using Bitmap image = new(10, 10); 4696using Bitmap image = new(10, 10); 4725using Bitmap image = new(10, 10); 4761using Bitmap image = new(10, 10);
System\Windows\Forms\ControlTests.Methods.cs (12)
1849using Bitmap bitmap = new(20, 20); 1871using Bitmap bitmap = new(20, 20); 1900using Bitmap bitmap = new(10, 10); 1914using Bitmap bitmap = new(10, 10); 1928using Bitmap bitmap = new(10, 10); 4264using Bitmap image = new(10, 10); 4273using Bitmap image = new(10, 10); 4320using Bitmap image = new(10, 10); 12862using Bitmap image = new(10, 10); 12957using Bitmap image = new(10, 10); 13204using Bitmap image = new(10, 10); 13321using Bitmap image = new(10, 10);
System\Windows\Forms\ControlTests.Properties.cs (12)
1654yield return new object[] { new Bitmap(10, 10), 1 }; 1713using Bitmap image1 = new(10, 10); 1714using Bitmap image2 = new(10, 10); 1753Bitmap image1 = new(10, 10); 1764Bitmap image2 = new(10, 10); 1795Bitmap value = new(10, 10); 1842Bitmap image1 = new(10, 10); 1861Bitmap image2 = new(10, 10); 1895using Bitmap childBackgroundImage1 = new(10, 10); 1896using Bitmap childBackgroundImage2 = new(10, 10); 1935Bitmap image1 = new(10, 10); 1954Bitmap image2 = new(10, 10);
System\Windows\Forms\CursorTests.cs (6)
381using Bitmap image = new(10, 10); 391using Bitmap image = new(10, 10); 407using Bitmap image = new(10, 10); 418using Bitmap image = new(10, 10); 428using Bitmap image = new(10, 10); 444using Bitmap image = new(10, 10);
System\Windows\Forms\DataGridViewCellPaintingEventArgsTests.cs (16)
23using Bitmap image = new(10, 10); 46using Bitmap image = new(10, 10); 61using Bitmap image = new(10, 10); 71using Bitmap image = new(10, 10); 82using Bitmap image = new(10, 10); 93using Bitmap image = new(10, 10); 106using Bitmap image = new(10, 10); 119using Bitmap image = new(10, 10); 132using Bitmap image = new(10, 10); 143using Bitmap image = new(10, 10); 156using Bitmap image = new(10, 10); 169using Bitmap image = new(10, 10); 182using Bitmap image = new(10, 10); 193using Bitmap image = new(10, 10); 206using Bitmap image = new(10, 10); 219using Bitmap image = new(10, 10);
System\Windows\Forms\DataGridViewCellTests.cs (26)
3679using Bitmap image = new(10, 10); 3831using Bitmap image = new(10, 10); 5254using Bitmap image = new(10, 10); 5269using Bitmap image = new(10, 10); 5291using Bitmap image = new(10, 10); 5304using Bitmap image = new(10, 10); 5316using Bitmap image = new(10, 10); 5328using Bitmap image = new(10, 10); 5342using Bitmap image = new(10, 10); 5356using Bitmap image = new(10, 10); 5366using Bitmap image = new(10, 10); 5375using Bitmap image = new(10, 10); 5384using Bitmap image = new(10, 10); 5398using Bitmap image = new(10, 10); 5412using Bitmap image = new(10, 10); 5421using Bitmap image = new(10, 10); 5430using Bitmap image = new(10, 10); 5444using Bitmap image = new(10, 10); 5458using Bitmap image = new(10, 10); 5468using Bitmap image = new(10, 10); 5477using Bitmap image = new(10, 10); 6020using Bitmap image = new(10, 10); 6028using Bitmap image = new(10, 10); 6044using Bitmap image = new(10, 10); 6054using Bitmap image = new(10, 10); 6064using Bitmap image = new(10, 10);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (1)
4620using Bitmap image = new(10, 10);
System\Windows\Forms\DataGridViewRowPostPaintEventArgsTests.cs (15)
23using Bitmap image = new(10, 10); 42using Bitmap image = new(10, 10); 57using Bitmap image = new(10, 10); 74using Bitmap image = new(10, 10); 87using Bitmap image = new(10, 10); 100using Bitmap image = new(10, 10); 111using Bitmap image = new(10, 10); 124using Bitmap image = new(10, 10); 135using Bitmap image = new(10, 10); 148using Bitmap image = new(10, 10); 159using Bitmap image = new(10, 10); 172using Bitmap image = new(10, 10); 183using Bitmap image = new(10, 10); 196using Bitmap image = new(10, 10); 209using Bitmap image = new(10, 10);
System\Windows\Forms\DataGridViewRowPrePaintEventArgsTests.cs (17)
14Bitmap image = new(10, 10); 43using Bitmap image = new(10, 10); 58using Bitmap image = new(10, 10); 75using Bitmap image = new(10, 10); 90using Bitmap image = new(10, 10); 104using Bitmap image = new(10, 10); 114using Bitmap image = new(10, 10); 127using Bitmap image = new(10, 10); 138using Bitmap image = new(10, 10); 151using Bitmap image = new(10, 10); 162using Bitmap image = new(10, 10); 175using Bitmap image = new(10, 10); 186using Bitmap image = new(10, 10); 199using Bitmap image = new(10, 10); 210using Bitmap image = new(10, 10); 223using Bitmap image = new(10, 10); 236using Bitmap image = new(10, 10);
System\Windows\Forms\DataGridViewRowTests.cs (38)
4198using Bitmap image = new(10, 10); 4214using Bitmap image = new(10, 10); 4237using Bitmap image = new(10, 10); 4594using Bitmap image = new(10, 10); 4618using Bitmap image = new(10, 10); 4644using Bitmap image = new(10, 10); 4668using Bitmap image = new(10, 10); 4692using Bitmap image = new(10, 10); 4716using Bitmap image = new(10, 10); 4740using Bitmap image = new(10, 10); 4765using Bitmap image = new(10, 10); 4790using Bitmap image = new(10, 10); 4798using Bitmap image = new(10, 10); 4875using Bitmap image = new(10, 10); 5001using Bitmap image = new(10, 10); 5040using Bitmap image = new(10, 10); 5064using Bitmap image = new(10, 10); 5090using Bitmap image = new(10, 10); 5114using Bitmap image = new(10, 10); 5138using Bitmap image = new(10, 10); 5162using Bitmap image = new(10, 10); 5186using Bitmap image = new(10, 10); 5211using Bitmap image = new(10, 10); 5236using Bitmap image = new(10, 10); 5310using Bitmap image = new(10, 10); 5329using Bitmap image = new(10, 10); 5360using Bitmap image = new(10, 10); 5384using Bitmap image = new(10, 10); 5410using Bitmap image = new(10, 10); 5434using Bitmap image = new(10, 10); 5458using Bitmap image = new(10, 10); 5482using Bitmap image = new(10, 10); 5506using Bitmap image = new(10, 10); 5531using Bitmap image = new(10, 10); 5556using Bitmap image = new(10, 10); 5633using Bitmap image = new(10, 10); 5649using Bitmap image = new(10, 10); 5667using Bitmap image = new(10, 10);
System\Windows\Forms\DataGridViewTests.cs (2)
3488using Bitmap bitMap1 = new(10, 10); 3489using Bitmap bitMap2 = new(20, 20);
System\Windows\Forms\DataObjectTests.cs (13)
773using Bitmap bitmap1 = new(10, 10); 777using Bitmap bitmap2 = new(10, 10); 847using Bitmap bitmap1 = new(10, 10); 852using Bitmap bitmap2 = new(10, 10); 895Bitmap image = new(10, 10); 1160{ new Bitmap(10, 10), typeof(Bitmap).FullName }, 1335using Bitmap image = new(10, 10); 1488using Bitmap image = new(10, 10); 1596((Action)(() => dataObject.SetData(DataFormats.Dib, false, new Bitmap(10, 10)))) 1669using Bitmap image = new(10, 10); 1693using Bitmap image = new(10, 10); 1709using Bitmap image = new(10, 10); 2890using Bitmap bitmap = new(10, 10);
System\Windows\Forms\DateTimePickerTests.cs (4)
546using (Bitmap bmp = new(1, 1)) 554using (Bitmap bmp = new(1, 1)) 720using (Bitmap bmp = new(10, 10)) 728using (Bitmap bmp = new(20, 20))
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
290using var value = Icon.FromHandle(new Bitmap(10, 10).GetHicon());
System\Windows\Forms\DragDropHelperTests.cs (6)
24yield return new object[] { new DataObject(), new Bitmap(1, 1), new Point(1, 1), false }; 26yield return new object[] { new DataObject(), new Bitmap(1, 1), new Point(1, 1), true }; 31yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, new Bitmap(1, 1), new Point(0, 0), false) }; 33yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, new Bitmap(1, 1), new Point(0, 0), true) }; 168using Bitmap bitmap = new(1, 1); 176using Bitmap bitmap = new(1, 1);
System\Windows\Forms\DrawItemEventArgsTests.cs (4)
26using Bitmap image = new(10, 10); 51using Bitmap image = new(10, 10); 91using Bitmap image = new(10, 10); 101using Bitmap image = new(10, 10);
System\Windows\Forms\DrawListViewColumnHeaderEventArgsTests.cs (6)
25using Bitmap image = new(10, 10); 49using Bitmap image = new(10, 10); 77using Bitmap image = new(10, 10); 89using Bitmap image = new(10, 10); 99using Bitmap image = new(10, 10); 115using Bitmap image = new(10, 10);
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (7)
25using Bitmap image = new(10, 10); 46using Bitmap image = new(10, 10); 55using Bitmap image = new(10, 10); 114using Bitmap image = new(10, 10); 124using Bitmap image = new(10, 10); 134using Bitmap image = new(10, 10); 144using Bitmap image = new(10, 10);
System\Windows\Forms\DrawListViewSubItemEventArgsTests.cs (6)
26using Bitmap image = new(10, 10); 49using Bitmap image = new(10, 10); 59using Bitmap image = new(10, 10); 68using Bitmap image = new(10, 10); 118using Bitmap image = new(10, 10); 128using Bitmap image = new(10, 10);
System\Windows\Forms\DrawToolTipEventArgsTests.cs (5)
24using Bitmap image = new(10, 10); 49using Bitmap image = new(10, 10); 59using Bitmap image = new(10, 10); 69using Bitmap image = new(10, 10); 79using Bitmap image = new(10, 10);
System\Windows\Forms\DrawTreeNodeEventArgsTests.cs (2)
24using Bitmap image = new(10, 10); 38using Bitmap image = new(10, 10);
System\Windows\Forms\ErrorProviderTests.cs (3)
537yield return new object[] { Icon.FromHandle(new Bitmap(10, 10).GetHicon()) }; 563provider.Icon = Icon.FromHandle(new Bitmap(10, 10).GetHicon()); 575provider.Icon = Icon.FromHandle(new Bitmap(10, 10).GetHicon());
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (4)
27GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(1, 1), new Point(0, 0), false) 44GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(2, 2), new Point(0, 0), false) 53yield return new object[] { new Bitmap(1, 1) }; 74GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(1, 1), new Point(0, 0), false)
System\Windows\Forms\GroupBoxTests.cs (6)
1851using Bitmap image = new(10, 10); 1889using Bitmap image = new(10, 10); 2089using Bitmap image = new(10, 10); 2127using Bitmap image = new(10, 10); 2190using Bitmap image = new(10, 10); 2235using Bitmap image = new(10, 10);
System\Windows\Forms\ImageList.ImageCollectionTests.cs (78)
233using Bitmap image = new(10, 10); 244yield return new object[] { transparentColor, new Bitmap(10, 10) }; 245yield return new object[] { transparentColor, new Bitmap(16, 16) }; 246yield return new object[] { transparentColor, new Bitmap(32, 32) }; 247yield return new object[] { transparentColor, new Bitmap(256, 256) }; 249Bitmap bitmap = new(16, 16); 261using Bitmap image = new(10, 10); 282using Bitmap image = new(10, 10); 315using Bitmap image = new(10, 10); 325using Bitmap image = new(10, 10); 336using Bitmap image = new(10, 10); 352using Bitmap image1 = new(1, 2); 354using Bitmap image2 = new(3, 4); 384using Bitmap image1 = new(1, 2); 385using Bitmap image2 = new(3, 4); 424yield return new object[] { transparentColor, new Bitmap(10, 10) }; 425yield return new object[] { transparentColor, new Bitmap(16, 16) }; 426yield return new object[] { transparentColor, new Bitmap(32, 32) }; 427yield return new object[] { transparentColor, new Bitmap(256, 256) }; 429Bitmap bitmap = new(16, 16); 581yield return new object[] { listTransparentColor, new Bitmap(10, 10), transparentColor }; 582yield return new object[] { listTransparentColor, new Bitmap(16, 16), transparentColor }; 583yield return new object[] { listTransparentColor, new Bitmap(32, 32), transparentColor }; 584yield return new object[] { listTransparentColor, new Bitmap(256, 256), transparentColor }; 586Bitmap bitmap = new(16, 16); 893yield return new object[] { transparentColor, new Bitmap(16, 16), 1 }; 894yield return new object[] { transparentColor, new Bitmap(32, 16), 2 }; 895yield return new object[] { transparentColor, new Bitmap(256, 16), 16 }; 897Bitmap bitmap = new(16, 16); 954using Bitmap image = new(width, 16); 966using Bitmap image = new(16, width); 994using Bitmap image = new(10, 10); 1037using Bitmap image = new(10, 10); 1059yield return new object[] { new Bitmap(10, 10) }; 1085using Bitmap image1 = new(1, 2); 1086using Bitmap image2 = new(3, 4); 1087using Bitmap image3 = new(5, 6); 1157using Bitmap image1 = new(1, 2); 1159using Bitmap image2 = new(3, 4); 1194using Bitmap image1 = new(1, 2); 1196using Bitmap image2 = new(3, 4); 1241using Bitmap image1 = new(1, 2); 1242using Bitmap image2 = new(3, 4); 1243using Bitmap image3 = new(5, 6); 1273yield return new object[] { new Bitmap(10, 10) }; 1289yield return new object[] { new Bitmap(10, 10) }; 1306using Bitmap image1 = new(1, 2); 1308using Bitmap image2 = new(3, 4); 1310using Bitmap image3 = new(3, 4); 1340using Bitmap image1 = new(1, 2); 1342using Bitmap image2 = new(3, 4); 1344using Bitmap image3 = new(3, 4); 1393using Bitmap image = new(10, 10); 1404using Bitmap image1 = new(1, 2); 1406using Bitmap image2 = new(3, 4); 1408using Bitmap image3 = new(3, 4); 1444using Bitmap image1 = new(1, 2); 1446using Bitmap image2 = new(3, 4); 1448using Bitmap image3 = new(3, 4); 1496using Bitmap image1 = new(1, 2); 1498using Bitmap image2 = new(3, 4); 1500using Bitmap image3 = new(3, 4); 1545using Bitmap image1 = new(1, 2); 1546using Bitmap image2 = new(3, 4); 1566using Bitmap image1 = new(1, 2); 1567using Bitmap image2 = new(3, 4); 1599using Bitmap image = new(10, 10); 1634using Bitmap image = new(10, 10); 1655using Bitmap image = new(10, 10); 1681using Bitmap value = new(1, 2); 1690using Bitmap image = new(10, 10); 1695using Bitmap value = new(1, 2); 1709using Bitmap image = new(10, 10); 1720using Bitmap image = new(10, 10); 1731yield return new object[] { new Bitmap(10, 10) }; 1762yield return new object[] { new Bitmap(10, 10) }; 1797yield return new object[] { index, new Bitmap(10, 10) }; 1814yield return new object[] { new Bitmap(10, 10) };
System\Windows\Forms\ImageListTests.cs (32)
202list.Images.Add(new Bitmap(10, 10)); 396list.Images.Add(new Bitmap(10, 10)); 434list.Images.Add(new Bitmap(10, 10)); 463using Bitmap image = new(10, 10); 500Bitmap image = new(10, 10); 527Bitmap image = new(10, 10); 552Bitmap image = new(10, 10); 577Bitmap image = new(10, 10); 601Bitmap image = new(10, 10); 627list.Images.Add(new Bitmap(10, 10)); 646list.Images.Add(new Bitmap(10, 10)); 812list.Images.Add(new Bitmap(10, 10)); 833using Bitmap bitmap = new(10, 10); 854using Bitmap bitmap1 = new(10, 10); 855using Bitmap bitmap2 = new(10, 10); 889using Bitmap bitmap = new(10, 10); 929using Bitmap image = new(10, 10); 932using Bitmap sourceImage = new(10, 10); 943using Bitmap image = new(10, 10); 947using Bitmap sourceImage = new(10, 10); 958using Bitmap image = new(10, 10); 961using Bitmap sourceImage = new(10, 10); 972using Bitmap image = new(10, 10); 976using Bitmap sourceImage = new(10, 10); 996using Bitmap image = new(10, 10); 999using Bitmap sourceImage = new(10, 10); 1010using Bitmap image = new(10, 10); 1014using Bitmap sourceImage = new(10, 10); 1024using Bitmap image = new(10, 10); 1039using Bitmap sourceImage = new(10, 10); 1052using Bitmap image = new(10, 10); 1055using Bitmap sourceImage = new(10, 10);
System\Windows\Forms\LabelTests.cs (9)
506using Bitmap image1 = new(10, 10); 515using Bitmap image2 = new(50, 10); 544using Bitmap image = new(10, 10); 616using Bitmap bitmap1 = new(10, 10); 617using Bitmap bitmap2 = new(10, 10); 650using Bitmap bitmap1 = new(10, 10); 651using Bitmap bitmap2 = new(10, 10); 684using Bitmap image = new(10, 10); 710using Bitmap bitmap = new(10, 10);
System\Windows\Forms\ListBoxTests.cs (4)
505using Bitmap image1 = new(10, 10); 516using Bitmap image2 = new(10, 10); 5520Bitmap bitmap = new(10, 10); 5641using Bitmap bitmap = new(10, 10);
System\Windows\Forms\ListViewGroupTests.cs (3)
218groupImageList.Images.Add(new Bitmap(10, 10)); 219groupImageList.Images.Add(new Bitmap(20, 20)); 359groupImageList.Images.Add(value.Key, new Bitmap(10, 10));
System\Windows\Forms\ListViewTests.cs (3)
645BackgroundImage = new Bitmap(10, 10), 705BackgroundImage = new Bitmap(10, 10) 4295nonEmptyImageList.Images.Add(new Bitmap(10, 10));
System\Windows\Forms\MdiClientTests.cs (4)
180using Bitmap image = new(10, 10); 227using Bitmap image1 = new(10, 10); 238using Bitmap image2 = new(10, 10); 259using Bitmap image = new(10, 10);
System\Windows\Forms\MdiControlStripTests.cs (1)
331HICON hicon = (HICON)new Bitmap(256, 256).GetHicon();
System\Windows\Forms\MeasureItemEventArgsTests.cs (4)
15Bitmap image = new(10, 10); 36Bitmap image = new(10, 10); 61using Bitmap image = new(10, 10); 76using Bitmap image = new(10, 10);
System\Windows\Forms\MenuStripTests.cs (3)
443yield return new object[] { string.Empty, new Bitmap(10, 10), onClick }; 444yield return new object[] { "text", new Bitmap(10, 10), onClick }; 462yield return new object[] { new Bitmap(10, 10), onClick };
System\Windows\Forms\MonthCalendarTests.cs (2)
405using Bitmap image1 = new(10, 10); 416using Bitmap image2 = new(10, 10);
System\Windows\Forms\Ole\BinaryFormatUtilitiesTests.cs (2)
35using Bitmap image = new(10, 10); 56using Bitmap value = new(10, 10);
System\Windows\Forms\PaintEventArgsTests.cs (3)
24using Bitmap image = new(10, 10); 41using Bitmap image = new(10, 10); 53using Bitmap image = new(10, 10);
System\Windows\Forms\PictureBoxTests.cs (20)
335ErrorImage = new Bitmap(10, 10) 371ErrorImage = new Bitmap(10, 10) 388using Bitmap image = new(10, 10); 405using Bitmap image = new(10, 10); 551Image = new Bitmap(10, 10) 583Image = new Bitmap(10, 10) 598using Bitmap image = new(10, 10); 615using Bitmap image = new(10, 10); 652using Bitmap image = new(10, 10); 810yield return new object[] { new Bitmap(10, 10), new Bitmap(10, 10), value }; 811yield return new object[] { new Bitmap(10, 10), null, value }; 812yield return new object[] { null, new Bitmap(10, 10), value }; 1032InitialImage = new Bitmap(10, 10) 1068InitialImage = new Bitmap(10, 10) 1085using Bitmap image = new(10, 10); 1102using Bitmap image = new(10, 10); 1928using Bitmap image = new(10, 10); 2498using Bitmap image = new(10, 10); 2590Image = new Bitmap(10, 10)
System\Windows\Forms\ProgressBarRendererTest.cs (2)
68using Bitmap bitmap1 = new(100, 100); 69using Bitmap bitmap2 = new(100, 100);
System\Windows\Forms\ProgressBarTests.cs (2)
249Bitmap image1 = new(10, 10); 260Bitmap image2 = new(10, 10);
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (1)
81_bitmap = new Bitmap(1, 1);
System\Windows\Forms\PropertyGridTests.cs (3)
442using Bitmap image1 = new(10, 10); 453using Bitmap image2 = new(10, 10); 2380public override Bitmap Bitmap => new(10, 10);
System\Windows\Forms\RichTextBoxTests.ClipboardTests.cs (1)
23using Bitmap bitmap = new(100, 100);
System\Windows\Forms\RichTextBoxTests.cs (3)
770using Bitmap image1 = new(10, 10); 781using Bitmap image2 = new(10, 10); 10663using Bitmap bitmap1 = new(10, 10);
System\Windows\Forms\ScrollableControlTests.cs (4)
1532using Bitmap image = new(10, 10); 1679using Bitmap image = new(10, 10); 1731using Bitmap image = new(10, 10); 1819using Bitmap image = new(10, 10);
System\Windows\Forms\ScrollBarTests.cs (2)
277using Bitmap image1 = new(10, 10); 288using Bitmap image2 = new(10, 10);
System\Windows\Forms\SplitterTests.cs (2)
231using Bitmap image1 = new(10, 10); 242using Bitmap image2 = new(10, 10);
System\Windows\Forms\StatusStripTests.cs (4)
877yield return new object[] { string.Empty, new Bitmap(10, 10), onClick }; 878yield return new object[] { "text", new Bitmap(10, 10), onClick }; 879yield return new object[] { "-", new Bitmap(10, 10), onClick }; 1212using Bitmap image = new(10, 10);
System\Windows\Forms\TabControlTests.cs (6)
649using Bitmap image1 = new(10, 10); 660using Bitmap image2 = new(10, 10); 1267using Bitmap image1 = new(10, 10); 1268using Bitmap image2 = new(10, 10); 1269using Bitmap image3 = new(10, 10); 4222Bitmap bitmap = new(10, 10);
System\Windows\Forms\TableLayoutCellPaintEventArgsTests.cs (1)
25using Bitmap image = new(10, 10);
System\Windows\Forms\TableLayoutPanelTests.cs (3)
1210Bitmap image = new(10, 10); 1431using Bitmap image = new(10, 10); 1471using Bitmap image = new(10, 10);
System\Windows\Forms\TabPageTests.cs (4)
3978using Bitmap image = new(10, 10); 4048using Bitmap image = new(10, 10); 4104using Bitmap image = new(10, 10); 4187using Bitmap image = new(10, 10);
System\Windows\Forms\TextRendererTests.cs (16)
37using Bitmap image = new(10, 10); 71using Bitmap image = new(10, 10); 108using Bitmap image = new(10, 10); 149using Bitmap image = new(10, 10); 181using Bitmap image = new(10, 10); 217using Bitmap image = new(10, 10); 257using Bitmap image = new(10, 10); 301using Bitmap image = new(10, 10); 313using Bitmap image = new(10, 10); 474using Bitmap image = new(10, 10); 489using Bitmap image = new(10, 10); 504using Bitmap image = new(10, 10); 519using Bitmap image = new(10, 10); 538using Bitmap image = new(10, 10); 727using Bitmap image = new(200, 50); 804using Bitmap image = new(200, 50);
System\Windows\Forms\ToolStripArrowRenderEventArgsTests.cs (4)
21Bitmap image = new(10, 10); 51using Bitmap image = new(10, 10); 71using Bitmap image = new(10, 10); 86using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripButtonTests.cs (9)
180yield return new object[] { new Bitmap(10, 10) }; 269yield return new object[] { text, new Bitmap(10, 10) }; 359yield return new object[] { string.Empty, new Bitmap(10, 10), onClick }; 360yield return new object[] { "text", new Bitmap(10, 10), onClick }; 457yield return new object[] { string.Empty, new Bitmap(10, 10), onClick, string.Empty, string.Empty }; 458yield return new object[] { "text", new Bitmap(10, 10), onClick, "name", "name" }; 1266using Bitmap image = new(10, 10); 1357using Bitmap image = new(10, 10); 1450Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapterTests.cs (1)
75using Bitmap bitmap = new(100, 100);
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
142using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripContentPanelRenderEventArgsTests.cs (3)
14Bitmap image = new(10, 10); 32using Bitmap image = new(10, 10); 46using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1855using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripControlHostTests.cs (11)
30BackgroundImage = new Bitmap(10, 10), 401yield return new object[] { new Bitmap(10, 10) }; 433using Bitmap value = new(10, 10); 560using Bitmap backgroundImage = new(10, 10); 854foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 1212yield return new object[] { imageTransparentColor, new Bitmap(10, 10) }; 1338yield return new object[] { new Bitmap(10, 10), color }; 1370foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 2396foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 3041foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 4110using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripDropDownItemTests.cs (6)
101yield return new object[] { string.Empty, new Bitmap(10, 10), onClick }; 102yield return new object[] { "text", new Bitmap(10, 10), onClick }; 200yield return new object[] { string.Empty, new Bitmap(10, 10), onClick, string.Empty, string.Empty }; 201yield return new object[] { "text", new Bitmap(10, 10), onClick, "name", "name" }; 297yield return new object[] { string.Empty, new Bitmap(10, 10), Array.Empty<ToolStripItem>(), Array.Empty<ToolStripItem>() }; 300yield return new object[] { "text", new Bitmap(10, 10), items, items };
System\Windows\Forms\ToolStripDropDownTests.cs (5)
825using Bitmap image1 = new(10, 10); 836using Bitmap image2 = new(10, 10); 2955yield return new object[] { string.Empty, new Bitmap(10, 10), onClick }; 2956yield return new object[] { "text", new Bitmap(10, 10), onClick }; 2974yield return new object[] { new Bitmap(10, 10), onClick };
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (2)
14Bitmap image = new(10, 10); 31Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripItemCollectionTests.cs (2)
362using Bitmap image = new(10, 10); 376using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripItemImageRenderEventArgsTests.cs (6)
14Bitmap image = new(10, 10); 31Bitmap image = new(10, 10); 76using Bitmap image = new(10, 10); 94yield return new object[] { new ToolStripButton(), new Bitmap(10, 10), new Rectangle(1, 2, 3, 4) }; 95yield return new object[] { new ToolStripButton() { Image = new Bitmap(10, 10) }, new Bitmap(10, 10), new Rectangle(1, 2, 3, 4) };
System\Windows\Forms\ToolStripItemRenderEventArgsTests.cs (2)
14Bitmap image = new(10, 10); 31Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripItemTests.cs (56)
100yield return new object[] { string.Empty, new Bitmap(10, 10), onClick }; 101yield return new object[] { "text", new Bitmap(10, 10), onClick }; 195yield return new object[] { string.Empty, new Bitmap(10, 10), onClick, string.Empty, string.Empty }; 196yield return new object[] { "text", new Bitmap(10, 10), onClick, "name", "name" }; 1292foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 1770yield return new object[] { new Bitmap(10, 10) }; 1866yield return new object[] { new Bitmap(10, 10), 1 }; 2512foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 2846foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 3695using Bitmap image = new(10, 10); 3716using Bitmap image = new(10, 10); 3763using Bitmap image = new(10, 10); 3786yield return new object[] { imageTransparentColor, new Bitmap(10, 10) }; 3816yield return new object[] { imageTransparentColor, new Bitmap(10, 10), -1 }; 3846using Bitmap oldValue = new(10, 10); 3867using Bitmap oldValue = new(10, 10); 3890yield return new object[] { imageTransparentColor, new Bitmap(10, 10), 1 }; 4089using Bitmap image = new(10, 10); 4103using Bitmap image = new(10, 10); 4117using Bitmap otherImage = new(10, 10); 4134using Bitmap image = new(10, 10); 4148using Bitmap image = new(10, 10); 4162using Bitmap otherImage = new(10, 10); 4408using Bitmap image = new(10, 10); 4500using Bitmap image = new(10, 10); 4643using Bitmap image = new(10, 10); 4760using Bitmap image = new(10, 10); 4785using Bitmap image = new(10, 10); 4839using Bitmap image = new(10, 10); 4863using Bitmap image = new(10, 10); 4916using Bitmap image = new(10, 10); 5002using Bitmap image = new(10, 10); 5139using Bitmap image = new(10, 10); 5253using Bitmap image = new(10, 10); 5284using Bitmap image = new(10, 10); 5345using Bitmap image = new(10, 10); 5376using Bitmap image = new(10, 10); 5604yield return new object[] { new Bitmap(10, 10), color }; 5670yield return new object[] { new Bitmap(10, 10), Color.Empty, 0 }; 5671yield return new object[] { new Bitmap(10, 10), Color.Red, 1 }; 5737yield return new object[] { new Bitmap(10, 10), Color.Empty, 0 }; 5738yield return new object[] { new Bitmap(10, 10), Color.Red, 1 }; 6949foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 9342foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 9876using Bitmap image = new(10, 10); 9912using Bitmap image = new(10, 10); 9954using Bitmap image = new(10, 10); 10027using Bitmap image = new(10, 10); 10065using Bitmap image = new(10, 10); 10109using Bitmap image = new(10, 10); 11098foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 12525foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 13191foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 14170item.Image = new Bitmap(10, 10); 14822foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 15004foreach (Image image in new Image[] { null, new Bitmap(10, 10) })
System\Windows\Forms\ToolStripItemTextRenderEventArgsTests.cs (4)
23using Bitmap image = new(10, 10); 49using Bitmap image = new(10, 10); 66using Bitmap image = new(10, 10); 82using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripLabelTests.cs (4)
38using Bitmap image = new(10, 10); 50using Bitmap image = new(10, 10); 63using Bitmap image = new(10, 10); 77using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripMenuItemTests.cs (8)
189using Bitmap image = new(10, 10); 204using Bitmap image = new(10, 10); 222using Bitmap image = new(10, 10); 240using Bitmap image = new(10, 10); 275BackgroundImage = new Bitmap(10, 10), 286Image = new Bitmap(10, 10), 362accessor.t_indeterminateCheckedImage = new Bitmap(10, 10); 363accessor.t_checkedImage = new Bitmap(10, 10);
System\Windows\Forms\ToolStripPanelRenderEventArgsTests.cs (3)
14Bitmap image = new(10, 10); 32using Bitmap image = new(10, 10); 46using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripRendererTests.cs (17)
16using Bitmap image = new(10, 11); 46using Bitmap image = new(10, 10); 81Bitmap image = new(10, 10); 138Bitmap image = new(10, 10); 193Bitmap image = new(10, 10); 195yield return new object[] { graphics, new SubToolStripItem(), new Bitmap(10, 10), new Rectangle(1, 2, 3, 4) }; 196yield return new object[] { graphics, new SubToolStripItem { Enabled = false }, new Bitmap(10, 10), new Rectangle(1, 2, 3, 4) }; 200yield return new object[] { graphics, new SubToolStripItem { ImageScaling = imageScaling }, new Bitmap(10, 10), new Rectangle(1, 2, 3, 4) }; 314using Bitmap image = new(10, 10); 421Bitmap image = new(10, 10); 487using Bitmap image = new(10, 10); 522Bitmap image = new(10, 10); 604Bitmap image = new(10, 10); 661Bitmap image = new(10, 10); 726using Bitmap image = new(10, 10); 843using Bitmap image = new(10, 10); 920using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (4)
14Bitmap image = new(10, 10); 41using Bitmap image = new(10, 10); 65using Bitmap image = new(10, 10); 94using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripSeparatorRenderEventArgsTests.cs (2)
14Bitmap image = new(10, 10); 31Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripSeparatorTests.cs (7)
115yield return new object[] { new Bitmap(10, 10) }; 246foreach (Image image in new Image[] { null, new Bitmap(10, 10) }) 422yield return new object[] { imageTransparentColor, new Bitmap(10, 10) }; 532yield return new object[] { new Bitmap(10, 10), color }; 1119Bitmap image = new(10, 10); 1213using Bitmap image = new(10, 10); 1284using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripSplitButtonTests.cs (5)
97using Bitmap image = new(10, 10); 108using Bitmap image = new(10, 10); 122using Bitmap image = new(10, 10); 139using Bitmap image = new(10, 10); 154using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripStatusLabelTests.cs (4)
34using Bitmap sampleImage = new(10, 10); 44using Bitmap sampleImage = new(10, 10); 54using Bitmap sampleImage = new(10, 10); 72using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripTests.cs (9)
4273yield return new object[] { string.Empty, new Bitmap(10, 10), onClick }; 4274yield return new object[] { "text", new Bitmap(10, 10), onClick }; 4292yield return new object[] { new Bitmap(10, 10), onClick }; 5873using Bitmap image = new(10, 10); 6020using Bitmap image = new(10, 10); 6071using Bitmap image = new(10, 10); 6158using Bitmap image = new(10, 10); 6233using Bitmap image = new(10, 10); 6262using Bitmap image = new(10, 10);
System\Windows\Forms\ToolStripTextBoxTests.cs (1)
57using Image image = new Bitmap(width, height);
System\Windows\Forms\TrackBarRendererTests.cs (1)
16_bitmap = new(100, 100);
System\Windows\Forms\TreeNodeTests.cs (51)
1002using Bitmap image = new(10, 10); 1041using Bitmap image = new(10, 10); 1075using Bitmap image = new(10, 10); 1106using Bitmap image = new(10, 10); 1121using Bitmap image1 = new(10, 10); 1122using Bitmap image2 = new(10, 10); 1188using Bitmap image = new(10, 10); 1255using Bitmap image1 = new(10, 10); 1256using Bitmap image2 = new(10, 10); 1412using Bitmap image1 = new(10, 10); 1413using Bitmap image2 = new(10, 10); 1502using Bitmap image1 = new(10, 10); 1503using Bitmap image2 = new(10, 10); 1532using Bitmap image1 = new(10, 10); 1533using Bitmap image2 = new(10, 10); 2984using Bitmap image = new(10, 10); 3023using Bitmap image = new(10, 10); 3057using Bitmap image = new(10, 10); 3088using Bitmap image = new(10, 10); 3103using Bitmap image1 = new(10, 10); 3104using Bitmap image2 = new(10, 10); 3170using Bitmap image = new(10, 10); 3210using Bitmap image1 = new(10, 10); 3211using Bitmap image2 = new(10, 10); 3239using Bitmap image1 = new(10, 10); 3240using Bitmap image2 = new(10, 10); 3396using Bitmap image1 = new(10, 10); 3397using Bitmap image2 = new(10, 10); 3486using Bitmap image1 = new(10, 10); 3487using Bitmap image2 = new(10, 10); 3516using Bitmap image1 = new(10, 10); 3517using Bitmap image2 = new(10, 10); 3607using Bitmap image = new(10, 10); 3650using Bitmap image = new(10, 10); 3699using Bitmap image = new(10, 10); 3731using Bitmap image = new(10, 10); 3754using Bitmap image1 = new(10, 10); 3755using Bitmap image2 = new(10, 10); 3875using Bitmap image1 = new(10, 10); 3876using Bitmap image2 = new(10, 10); 3905using Bitmap image1 = new(10, 10); 3906using Bitmap image2 = new(10, 10); 3968using Bitmap image = new(10, 10); 4144using Bitmap image1 = new(10, 10); 4145using Bitmap image2 = new(10, 10); 4245using Bitmap image1 = new(10, 10); 4246using Bitmap image2 = new(10, 10); 4283using Bitmap image1 = new(10, 10); 4284using Bitmap image2 = new(10, 10); 4443using Bitmap image1 = new(10, 10); 4444using Bitmap image2 = new(10, 10);
System\Windows\Forms\TreeViewImageIndexConverterTests.cs (2)
81using Bitmap image1 = new(10, 10); 82using Bitmap image2 = new(10, 10);
System\Windows\Forms\TreeViewTests.cs (30)
822using Bitmap image1 = new(10, 10); 833using Bitmap image2 = new(10, 10); 2104imageList.Images.Add(new Bitmap(10, 10)); 2105imageList.Images.Add(new Bitmap(10, 10)); 2128imageList.Images.Add(new Bitmap(10, 10)); 2129imageList.Images.Add("imageKey", new Bitmap(10, 10)); 2196imageList.Images.Add(new Bitmap(10, 10)); 2197imageList.Images.Add(new Bitmap(10, 10)); 2312imageList.Images.Add(new Bitmap(10, 10)); 2313imageList.Images.Add("imageKey", new Bitmap(10, 10)); 2338imageList.Images.Add(new Bitmap(10, 10)); 2339imageList.Images.Add("imageKey", new Bitmap(10, 10)); 2399imageList.Images.Add(new Bitmap(10, 10)); 2400imageList.Images.Add("imageKey", new Bitmap(10, 10)); 2423imageList.Images.Add(new Bitmap(10, 10)); 3464imageList.Images.Add(new Bitmap(10, 10)); 3465imageList.Images.Add(new Bitmap(10, 10)); 3488imageList.Images.Add(new Bitmap(10, 10)); 3489imageList.Images.Add("imageKey", new Bitmap(10, 10)); 3556imageList.Images.Add(new Bitmap(10, 10)); 3557imageList.Images.Add(new Bitmap(10, 10)); 3662imageList.Images.Add(new Bitmap(10, 10)); 3663imageList.Images.Add("imageKey", new Bitmap(10, 10)); 3688imageList.Images.Add(new Bitmap(10, 10)); 3689imageList.Images.Add("imageKey", new Bitmap(10, 10)); 3749imageList.Images.Add(new Bitmap(10, 10)); 3750imageList.Images.Add("imageKey", new Bitmap(10, 10)); 5668Bitmap image = new(10, 10); 6006yield return new object[] { new Image[] { new Bitmap(10, 10) }, null, true }; 6008yield return new object[] { new Image[] { new Bitmap(10, 10) }, new EventArgs(), true };
System\Windows\Forms\UpDownBaseTests.cs (4)
634using Bitmap image1 = new(10, 10); 645using Bitmap image2 = new(10, 10); 2247using Bitmap image = new(10, 10); 2283using Bitmap image = new(10, 10);
System\Windows\Forms\UserControlTests.cs (2)
1096using Bitmap backgroundImage = new(10, 10); 1194using Bitmap backgroundImage = new(10, 10);
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (25)
138using Bitmap bitmap = new(10, 10); 172using Bitmap bitmap = new(10, 10); 207using Bitmap bitmap = new(10, 10); 225using Bitmap bitmap = new(10, 10); 235using Bitmap bitmap = new(10, 10); 245using Bitmap bitmap = new(10, 10); 269using Bitmap bitmap = new(10, 10); 271using Bitmap image = new(10, 10); 282using Bitmap bitmap = new(10, 10); 284using Bitmap image = new(10, 10); 295using Bitmap image = new(10, 10); 305using Bitmap image = new(10, 10); 306using Bitmap bitmap = new(10, 10); 315using Bitmap image = new(10, 10); 316using Bitmap bitmap = new(10, 10); 327using Bitmap bitmap = new(10, 10); 329using Bitmap image = new(10, 10); 354using Bitmap bitmap = new(10, 10); 381using Bitmap bitmap = new(10, 10); 420using Bitmap bitmap = new(10, 10); 451using Bitmap bitmap = new(10, 10); 482using Bitmap bitmap = new(10, 10); 492using Bitmap image = new(10, 10); 573using Bitmap image = new(10, 10); 585using Bitmap image = new(10, 10);
TextBoxBaseTests.cs (2)
472using Bitmap image1 = new(10, 10); 483using Bitmap image2 = new(10, 10);
ToolStripContainerTests.cs (3)
74using Image value = new Bitmap(10, 10); 87_toolStripContainer.BackgroundImage = new Bitmap(10, 10); 92_toolStripContainer.BackgroundImage = new Bitmap(20, 20);
TrackBarTests.cs (3)
467using Bitmap image1 = new(10, 10); 478using Bitmap image2 = new(10, 10); 3245using Bitmap bitmap = new(bitmapWidth, bitmapHeight);
WebBrowserBaseTests.cs (5)
674using Bitmap bitmap = new(20, 20); 696using Bitmap bitmap = new(20, 20); 725using Bitmap bitmap = new(10, 10); 739using Bitmap bitmap = new(10, 10); 753using Bitmap bitmap = new(10, 10);
System.Windows.Forms.TestUtilities (2)
CommonTestHelperEx.cs (2)
38new Bitmap(10, 10), 111Bitmap image = new(10, 10);
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
181using Image newImage = new Bitmap(100, 100);
WindowsFormsIntegration (3)
System\Windows\Integration\HostUtils.cs (3)
178SD.Bitmap bitmap = new SD.Bitmap(control.ClientRectangle.Width, control.ClientRectangle.Height); 196SD.Bitmap returnBitmap = new SD.Bitmap(childElementHost.ClientRectangle.Width, childElementHost.ClientRectangle.Height); 280return new SD.Bitmap(1, 1);