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