1590 references to new
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
69
using Bitmap image =
new
(2, 2);
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
53
new System.Drawing.
Bitmap
(1, 1), // Use Bitmap instead of Image
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
107
Bitmap bmp = new
Bitmap
(bitmapwidth, bitmapheight);
System.Drawing.Common.Tests (592)
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 (186)
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);
2825
using Bitmap bitmap =
new
(10, 10);
2834
using Bitmap bitmap =
new
(10, 10);
2845
using Bitmap bitmap =
new
(10, 10);
2855
using Bitmap bitmap =
new
(10, 10);
2866
using Bitmap bitmap =
new
(10, 10);
2933
using Bitmap bitmap =
new
(10, 10);
2942
using Bitmap bitmap =
new
(10, 10);
2951
using Bitmap bitmap =
new
(10, 10);
2960
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)
31
using Bitmap bitmap =
new
(1, 1);
89
using Bitmap bitmap =
new
(1, 1);
111
using Bitmap bitmap =
new
(1, 1);
132
using Bitmap bitmap =
new
(1, 1);
179
using Bitmap bitmap =
new
(1, 1);
203
using Bitmap bitmap =
new
(1, 1);
228
using Bitmap bitmap =
new
(1, 1);
651
using Bitmap bitmap =
new
(1, 1);
662
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)
1350
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)
698
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)
2654
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)
1036
Bitmap disabledBitmap =
new
(size.Width, size.Height);
System\Windows\Forms\Rendering\ControlPaint.cs (7)
1370
Bitmap bitmap =
new
(rectangle.Width, rectangle.Height);
1441
using Bitmap bitmap =
new
(width, height);
1537
using Bitmap bitmap =
new
(width, height);
1636
using Bitmap bitmap =
new
(image.Width, image.Height);
2096
using Bitmap bitmap =
new
(patternSize, patternSize);
2147
using Bitmap b =
new
(2, 2);
2226
using Bitmap bitmap =
new
(patternSize, patternSize);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
293
_swatch = new
Bitmap
(width, height);
System.Windows.Forms.Design.Tests (31)
System\ComponentModel\Design\ByteViewerTests.cs (4)
425
using Bitmap image =
new
(10, 10);
466
using Bitmap image =
new
(10, 10);
511
using Bitmap image =
new
(10, 10);
541
using Bitmap image =
new
(10, 10);
System\Drawing\Design\BitmapEditorTests.cs (1)
74
using Bitmap image =
new
(10, 10);
System\Drawing\Design\FontNameEditorTests.cs (1)
84
using (Bitmap bitmap =
new
(1, 1))
System\Drawing\Design\ImageEditorTests.cs (4)
130
using Bitmap image =
new
(10, 10);
160
using Bitmap image =
new
(10, 10);
161
using Bitmap otherImage =
new
(3, 2);
185
using Bitmap image =
new
(10, 10);
System\Drawing\Design\MetafileEditorTests.cs (1)
57
using Bitmap image =
new
(10, 10);
System\Drawing\Design\ToolboxItemTests.cs (9)
101
yield return new object[] { new
Bitmap
(10, 10) };
1337
using Bitmap bitmap =
new
(10, 10);
1338
using Bitmap originalBitmap =
new
(10, 10);
1383
using Bitmap bitmap =
new
(10, 10);
1384
using Bitmap originalBitmap =
new
(10, 10);
1412
using Bitmap bitmap =
new
(10, 10);
1413
using Bitmap originalBitmap =
new
(10, 10);
1537
Bitmap bitmap =
new
(10, 10);
1541
Bitmap originalBitmap =
new
(10, 10);
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (1)
324
using Bitmap bitmap =
new
(10, 10);
System\Windows\Forms\Design\DataSourceDescriptorCollectionTests.cs (1)
109
public override Bitmap Image =>
new
(1, 1);
System\Windows\Forms\Design\DataSourceGroupCollectionTests.cs (1)
104
public override Bitmap Image =>
new
(1, 1);
System\Windows\Forms\Design\ImageIndexEditorTests.cs (1)
35
using Bitmap bitmap =
new
(10, 10);
System\Windows\Forms\Design\ImageListDesignerOriginalImageCollectionTests.cs (1)
16
private readonly Image _image = new
Bitmap
(10, 10);
System\Windows\Forms\Design\ImageListImageEditorTests.cs (1)
18
using Bitmap image =
new
(10, 10);
System\Windows\Forms\Design\ImageListImageTests.cs (5)
15
using Bitmap bitmap =
new
(10, 10);
25
using Bitmap bitmap =
new
(10, 10);
36
using Bitmap bitmap =
new
(10, 10);
49
using Bitmap bitmap =
new
(10, 10);
61
using Bitmap bitmap =
new
(10, 10);
System.Windows.Forms.Primitives.Tests (23)
Interop\Ole32\IPictureTests.cs (1)
83
using Bitmap bitmap =
new
(100, 200);
Interop\Oleaut32\ITypeInfoTests.cs (16)
17
using Bitmap image =
new
(16, 32);
31
using Bitmap image =
new
(16, 32);
45
using Bitmap image =
new
(16, 32);
61
using Bitmap image =
new
(16, 32);
81
using Bitmap image =
new
(16, 32);
101
using Bitmap image =
new
(16, 32);
135
using Bitmap image =
new
(16, 32);
159
using Bitmap image =
new
(16, 32);
173
using Bitmap image =
new
(16, 32);
187
using Bitmap image =
new
(16, 32);
209
using Bitmap image =
new
(16, 32);
226
using Bitmap image =
new
(16, 32);
240
using Bitmap image =
new
(16, 32);
279
using Bitmap image =
new
(16, 32);
292
using Bitmap image =
new
(16, 32);
321
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 (917)
CheckedListBoxTests.cs (6)
419
using Bitmap image =
new
(10, 10);
441
using Bitmap image =
new
(10, 10);
462
using Bitmap image =
new
(10, 10);
473
using Bitmap image =
new
(10, 10);
486
using Bitmap image =
new
(10, 10);
813
using Bitmap image =
new
(10, 10);
SerializableTypesTests.cs (1)
81
imageList.Images.Add(new
Bitmap
(16, 16));
System\Drawing\Design\PaintValueEventArgsTests.cs (1)
22
using Bitmap image =
new
(10, 10);
System\Drawing\Design\PropertyValueUIItemTests.cs (4)
13
yield return new object[] { new
Bitmap
(10, 10), (PropertyValueUIItemInvokeHandler)Dummy_PropertyValueUIItemInvokeHandler, null };
14
yield return new object[] { new
Bitmap
(10, 10), (PropertyValueUIItemInvokeHandler)Dummy_PropertyValueUIItemInvokeHandler, string.Empty };
15
yield return new object[] { new
Bitmap
(10, 10), (PropertyValueUIItemInvokeHandler)Dummy_PropertyValueUIItemInvokeHandler, "tooltip" };
37
using Bitmap uiItemImage =
new
(10, 10);
System\Drawing\Design\UITypeEditorTests.cs (4)
100
Bitmap bitmap =
new
(10, 10);
110
using Bitmap image =
new
(10, 10);
118
Bitmap bitmap =
new
(10, 10);
132
using (Bitmap image =
new
(10, 10))
System\Resources\ResxDataNodeTests.cs (2)
29
using Bitmap bitmap =
new
(10, 10);
43
using Bitmap bitmap =
new
(10, 10);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (1)
188
using Image image = new
Bitmap
(1, 1);
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
101
using Bitmap image =
new
(10, 10);
System\Windows\Forms\AxHostTests.cs (2)
1607
Bitmap original =
new
(10, 11);
1667
Bitmap original =
new
(10, 11);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (5)
22
using Bitmap bitmap =
new
(10, 10);
38
using Bitmap bitmap =
new
(10, 10);
53
using Bitmap bitmap =
new
(10, 10);
74
using Bitmap image =
new
(10, 10);
97
using Bitmap image =
new
(10, 10);
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (4)
248
using Bitmap image =
new
(10, 10);
263
using Bitmap image =
new
(10, 10);
277
using Bitmap value =
new
(10, 10);
284
using Bitmap value =
new
(10, 10);
System\Windows\Forms\ButtonBaseTests.cs (30)
815
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
889
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
1385
yield return new object[] { autoSize, enabled, visible, new
Bitmap
(10, 10) };
1432
using Bitmap value =
new
(10, 10);
1456
using Bitmap value =
new
(10, 10);
1482
using Bitmap value =
new
(10, 10);
1537
yield return new object[] { true, enabled, visible, new
Bitmap
(10, 10), 1 };
1539
yield return new object[] { false, enabled, visible, new
Bitmap
(10, 10), 0 };
1601
yield return new object[] { autoSize, enabled, visible, new
Bitmap
(10, 10), 2 };
1704
yield return new object[] { true, enabled, visible, new
Bitmap
(10, 10), 1, 2 };
1706
yield return new object[] { false, enabled, visible, new
Bitmap
(10, 10), 0, 2 };
1780
using Bitmap image =
new
(10, 10);
1799
using Bitmap image =
new
(10, 10);
1827
using Bitmap image =
new
(10, 10);
2077
using Bitmap image =
new
(10, 10);
2151
using Bitmap image1 =
new
(10, 10);
2152
using Bitmap image2 =
new
(10, 10);
2236
using Bitmap image =
new
(10, 10);
2302
using Bitmap image1 =
new
(10, 10);
2303
using Bitmap image2 =
new
(10, 10);
2385
using Bitmap image =
new
(10, 10);
2798
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
4342
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
4416
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
5103
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
5194
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
6932
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
7023
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
7362
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
7453
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
System\Windows\Forms\ButtonTests.cs (2)
3423
using Bitmap image =
new
(10, 10);
3496
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ClipboardTests.cs (2)
378
using Bitmap bitmap =
new
(10, 10);
433
using Bitmap bitmap =
new
(10, 10);
System\Windows\Forms\ColumnHeaderTests.cs (8)
372
using Bitmap image1 =
new
(10, 10);
373
using Bitmap image2 =
new
(10, 10);
458
using Bitmap image1 =
new
(10, 10);
459
using Bitmap image2 =
new
(10, 10);
591
using Bitmap image1 =
new
(10, 10);
592
using Bitmap image2 =
new
(10, 10);
680
using Bitmap image1 =
new
(10, 10);
681
using Bitmap image2 =
new
(10, 10);
System\Windows\Forms\ComboBoxTests.cs (10)
385
using Bitmap bitmap =
new
(100, 100);
528
using Bitmap image1 =
new
(10, 10);
539
using Bitmap image2 =
new
(10, 10);
723
using Bitmap bitmap =
new
(1, 1);
746
using Bitmap bitmap =
new
(1, 1);
766
using Bitmap bitmap =
new
(1, 1);
1967
using Bitmap image =
new
(10, 10);
2004
using Bitmap image =
new
(10, 10);
2064
using Bitmap image =
new
(10, 10);
2108
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (1)
159
using Bitmap bitmap =
new
(42, 70);
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (3)
22
using Bitmap bitmap =
new
(10, 20);
32
using Bitmap bitmap =
new
(10, 20);
81
using Bitmap bitmap =
new
(10, 20);
System\Windows\Forms\ControlPaintTests.cs (82)
54
using Bitmap bitmap =
new
(3, 1);
125
using Bitmap mask =
new
(3, 1);
132
using Bitmap bitmap =
new
(3, 1);
165
using Bitmap bitmap =
new
(3, 1);
233
using Bitmap bitmap =
new
(3, 1);
274
using Bitmap bitmap =
new
(1, 1);
561
using Bitmap image =
new
(10, 10);
574
using Bitmap image =
new
(10, 10);
620
using Bitmap image =
new
(10, 10);
662
using Bitmap image =
new
(10, 10);
700
using Bitmap image =
new
(10, 10);
725
using Bitmap image =
new
(10, 10);
753
using Bitmap image =
new
(10, 10);
765
using Bitmap image =
new
(10, 10);
777
using Bitmap image =
new
(10, 10);
789
using Bitmap image =
new
(10, 10);
825
using Bitmap image =
new
(10, 10);
837
using Bitmap image =
new
(10, 10);
863
using Bitmap image =
new
(10, 10);
874
using Bitmap image =
new
(10, 10);
885
using Bitmap image =
new
(10, 10);
909
using Bitmap image =
new
(10, 10);
921
using Bitmap image =
new
(10, 10);
946
using Bitmap image =
new
(10, 10);
957
using Bitmap image =
new
(10, 10);
968
using Bitmap image =
new
(10, 10);
989
using Bitmap image =
new
(10, 10);
1001
using Bitmap image =
new
(10, 10);
1027
using Bitmap image =
new
(10, 10);
1038
using Bitmap image =
new
(10, 10);
1049
using Bitmap image =
new
(10, 10);
1070
using Bitmap image =
new
(10, 10);
1082
using Bitmap image =
new
(10, 10);
1107
using Bitmap image =
new
(10, 10);
1118
using Bitmap image =
new
(10, 10);
1129
using Bitmap image =
new
(10, 10);
1149
using Bitmap image =
new
(10, 10);
1177
using Bitmap image =
new
(10, 10);
1208
using Bitmap image =
new
(10, 10);
1243
using Bitmap image =
new
(10, 10);
1280
using Bitmap image =
new
(10, 10);
1301
using Bitmap image =
new
(10, 10);
1308
yield return new object[] { new
Bitmap
(10, 10), -10, -20, Color.Red };
1309
yield return new object[] { new
Bitmap
(10, 10), 0, 0, Color.Red };
1310
yield return new object[] { new
Bitmap
(10, 10), 1, 2, Color.Red };
1311
yield return new object[] { new
Bitmap
(10, 10), 0, 0, Color.Black };
1312
yield return new object[] { new
Bitmap
(10, 10), 0, 0, Color.White };
1313
yield return new object[] { new
Bitmap
(10, 10), 0, 0, Color.Transparent };
1314
yield return new object[] { new
Bitmap
(10, 10), 0, 0, Color.Empty };
1329
using Bitmap sourceImage =
new
(10, 10);
1340
using Bitmap image =
new
(10, 10);
1347
using Bitmap image =
new
(10, 10);
1369
using Bitmap image =
new
(10, 10);
1400
using Bitmap image =
new
(10, 10);
1432
using Bitmap image =
new
(10, 10);
1444
using Bitmap image =
new
(10, 10);
1456
using Bitmap image =
new
(10, 10);
1486
using Bitmap image =
new
(10, 10);
1498
using Bitmap image =
new
(10, 10);
1510
using Bitmap image =
new
(10, 10);
1531
using Bitmap image =
new
(10, 10);
1543
using Bitmap image =
new
(10, 10);
1568
using Bitmap image =
new
(10, 10);
1579
using Bitmap image =
new
(10, 10);
1590
using Bitmap image =
new
(10, 10);
1611
using Bitmap image =
new
(10, 10);
1623
using Bitmap image =
new
(10, 10);
1648
using Bitmap image =
new
(10, 10);
1659
using Bitmap image =
new
(10, 10);
1670
using Bitmap image =
new
(10, 10);
1749
using Bitmap image =
new
(10, 10);
1761
using Bitmap image =
new
(10, 10);
1786
using Bitmap image =
new
(10, 10);
1797
using Bitmap image =
new
(10, 10);
1808
using Bitmap image =
new
(10, 10);
1834
using Bitmap image =
new
(10, 10);
1869
using Bitmap image =
new
(10, 10);
1881
using Bitmap image =
new
(10, 10);
1917
using Bitmap image =
new
(10, 10);
1929
using Bitmap image =
new
(10, 10);
1965
using Bitmap image =
new
(10, 10);
1994
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ControlTests.Handlers.cs (12)
379
BackgroundImage = new
Bitmap
(10, 10)
383
BackgroundImage = new
Bitmap
(10, 10)
3854
using Bitmap image =
new
(10, 10);
3976
using Bitmap image =
new
(10, 10);
4026
using Bitmap image =
new
(10, 10);
4103
using Bitmap image =
new
(10, 10);
4277
Bitmap image =
new
(10, 10);
4636
using Bitmap image =
new
(10, 10);
4655
using Bitmap image =
new
(10, 10);
4694
using Bitmap image =
new
(10, 10);
4723
using Bitmap image =
new
(10, 10);
4759
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ControlTests.Methods.cs (12)
1880
using Bitmap bitmap =
new
(20, 20);
1902
using Bitmap bitmap =
new
(20, 20);
1931
using Bitmap bitmap =
new
(10, 10);
1945
using Bitmap bitmap =
new
(10, 10);
1959
using Bitmap bitmap =
new
(10, 10);
4295
using Bitmap image =
new
(10, 10);
4304
using Bitmap image =
new
(10, 10);
4351
using Bitmap image =
new
(10, 10);
12893
using Bitmap image =
new
(10, 10);
12988
using Bitmap image =
new
(10, 10);
13235
using Bitmap image =
new
(10, 10);
13352
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ControlTests.Properties.cs (12)
1652
yield return new object[] { new
Bitmap
(10, 10), 1 };
1711
using Bitmap image1 =
new
(10, 10);
1712
using Bitmap image2 =
new
(10, 10);
1751
Bitmap image1 =
new
(10, 10);
1762
Bitmap image2 =
new
(10, 10);
1793
Bitmap value =
new
(10, 10);
1840
Bitmap image1 =
new
(10, 10);
1859
Bitmap image2 =
new
(10, 10);
1893
using Bitmap childBackgroundImage1 =
new
(10, 10);
1894
using Bitmap childBackgroundImage2 =
new
(10, 10);
1933
Bitmap image1 =
new
(10, 10);
1952
Bitmap image2 =
new
(10, 10);
System\Windows\Forms\CursorTests.cs (6)
379
using Bitmap image =
new
(10, 10);
389
using Bitmap image =
new
(10, 10);
405
using Bitmap image =
new
(10, 10);
416
using Bitmap image =
new
(10, 10);
426
using Bitmap image =
new
(10, 10);
442
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DataGridViewCellPaintingEventArgsTests.cs (16)
21
using Bitmap image =
new
(10, 10);
44
using Bitmap image =
new
(10, 10);
59
using Bitmap image =
new
(10, 10);
69
using Bitmap image =
new
(10, 10);
80
using Bitmap image =
new
(10, 10);
91
using Bitmap image =
new
(10, 10);
104
using Bitmap image =
new
(10, 10);
117
using Bitmap image =
new
(10, 10);
130
using Bitmap image =
new
(10, 10);
141
using Bitmap image =
new
(10, 10);
154
using Bitmap image =
new
(10, 10);
167
using Bitmap image =
new
(10, 10);
180
using Bitmap image =
new
(10, 10);
191
using Bitmap image =
new
(10, 10);
204
using Bitmap image =
new
(10, 10);
217
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DataGridViewCellTests.cs (26)
3677
using Bitmap image =
new
(10, 10);
3829
using Bitmap image =
new
(10, 10);
5252
using Bitmap image =
new
(10, 10);
5267
using Bitmap image =
new
(10, 10);
5289
using Bitmap image =
new
(10, 10);
5302
using Bitmap image =
new
(10, 10);
5314
using Bitmap image =
new
(10, 10);
5326
using Bitmap image =
new
(10, 10);
5340
using Bitmap image =
new
(10, 10);
5354
using Bitmap image =
new
(10, 10);
5364
using Bitmap image =
new
(10, 10);
5373
using Bitmap image =
new
(10, 10);
5382
using Bitmap image =
new
(10, 10);
5396
using Bitmap image =
new
(10, 10);
5410
using Bitmap image =
new
(10, 10);
5419
using Bitmap image =
new
(10, 10);
5428
using Bitmap image =
new
(10, 10);
5442
using Bitmap image =
new
(10, 10);
5456
using Bitmap image =
new
(10, 10);
5466
using Bitmap image =
new
(10, 10);
5475
using Bitmap image =
new
(10, 10);
6018
using Bitmap image =
new
(10, 10);
6026
using Bitmap image =
new
(10, 10);
6042
using Bitmap image =
new
(10, 10);
6052
using Bitmap image =
new
(10, 10);
6062
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (1)
4621
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DataGridViewRowPostPaintEventArgsTests.cs (15)
21
using Bitmap image =
new
(10, 10);
40
using Bitmap image =
new
(10, 10);
55
using Bitmap image =
new
(10, 10);
72
using Bitmap image =
new
(10, 10);
85
using Bitmap image =
new
(10, 10);
98
using Bitmap image =
new
(10, 10);
109
using Bitmap image =
new
(10, 10);
122
using Bitmap image =
new
(10, 10);
133
using Bitmap image =
new
(10, 10);
146
using Bitmap image =
new
(10, 10);
157
using Bitmap image =
new
(10, 10);
170
using Bitmap image =
new
(10, 10);
181
using Bitmap image =
new
(10, 10);
194
using Bitmap image =
new
(10, 10);
207
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DataGridViewRowPrePaintEventArgsTests.cs (17)
12
Bitmap image =
new
(10, 10);
41
using Bitmap image =
new
(10, 10);
56
using Bitmap image =
new
(10, 10);
73
using Bitmap image =
new
(10, 10);
88
using Bitmap image =
new
(10, 10);
102
using Bitmap image =
new
(10, 10);
112
using Bitmap image =
new
(10, 10);
125
using Bitmap image =
new
(10, 10);
136
using Bitmap image =
new
(10, 10);
149
using Bitmap image =
new
(10, 10);
160
using Bitmap image =
new
(10, 10);
173
using Bitmap image =
new
(10, 10);
184
using Bitmap image =
new
(10, 10);
197
using Bitmap image =
new
(10, 10);
208
using Bitmap image =
new
(10, 10);
221
using Bitmap image =
new
(10, 10);
234
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DataGridViewRowTests.cs (38)
4196
using Bitmap image =
new
(10, 10);
4212
using Bitmap image =
new
(10, 10);
4235
using Bitmap image =
new
(10, 10);
4592
using Bitmap image =
new
(10, 10);
4616
using Bitmap image =
new
(10, 10);
4642
using Bitmap image =
new
(10, 10);
4666
using Bitmap image =
new
(10, 10);
4690
using Bitmap image =
new
(10, 10);
4714
using Bitmap image =
new
(10, 10);
4738
using Bitmap image =
new
(10, 10);
4763
using Bitmap image =
new
(10, 10);
4788
using Bitmap image =
new
(10, 10);
4796
using Bitmap image =
new
(10, 10);
4873
using Bitmap image =
new
(10, 10);
4999
using Bitmap image =
new
(10, 10);
5038
using Bitmap image =
new
(10, 10);
5062
using Bitmap image =
new
(10, 10);
5088
using Bitmap image =
new
(10, 10);
5112
using Bitmap image =
new
(10, 10);
5136
using Bitmap image =
new
(10, 10);
5160
using Bitmap image =
new
(10, 10);
5184
using Bitmap image =
new
(10, 10);
5209
using Bitmap image =
new
(10, 10);
5234
using Bitmap image =
new
(10, 10);
5308
using Bitmap image =
new
(10, 10);
5327
using Bitmap image =
new
(10, 10);
5358
using Bitmap image =
new
(10, 10);
5382
using Bitmap image =
new
(10, 10);
5408
using Bitmap image =
new
(10, 10);
5432
using Bitmap image =
new
(10, 10);
5456
using Bitmap image =
new
(10, 10);
5480
using Bitmap image =
new
(10, 10);
5504
using Bitmap image =
new
(10, 10);
5529
using Bitmap image =
new
(10, 10);
5554
using Bitmap image =
new
(10, 10);
5631
using Bitmap image =
new
(10, 10);
5647
using Bitmap image =
new
(10, 10);
5665
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DataGridViewTests.cs (2)
3486
using Bitmap bitMap1 =
new
(10, 10);
3487
using Bitmap bitMap2 =
new
(20, 20);
System\Windows\Forms\DataObject_BitmapBinderTests.cs (1)
90
new
Bitmap
(5, 5)
System\Windows\Forms\DataObjectTests.cs (13)
547
using Bitmap bitmap1 =
new
(10, 10);
551
using Bitmap bitmap2 =
new
(10, 10);
621
using Bitmap bitmap1 =
new
(10, 10);
626
using Bitmap bitmap2 =
new
(10, 10);
669
Bitmap image =
new
(10, 10);
934
{ new
Bitmap
(10, 10), typeof(Bitmap).FullName },
1046
using Bitmap image =
new
(10, 10);
1126
using Bitmap image =
new
(10, 10);
1234
((Action)(() => dataObject.SetData(DataFormats.Dib, false, new
Bitmap
(10, 10))))
1307
using Bitmap image =
new
(10, 10);
1331
using Bitmap image =
new
(10, 10);
1347
using Bitmap image =
new
(10, 10);
2493
using Bitmap bitmap =
new
(10, 10);
System\Windows\Forms\DateTimePickerTests.cs (4)
544
using (Bitmap bmp =
new
(1, 1))
552
using (Bitmap bmp =
new
(1, 1))
718
using (Bitmap bmp =
new
(10, 10))
726
using (Bitmap bmp =
new
(20, 20))
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
288
using var value = Icon.FromHandle(new
Bitmap
(10, 10).GetHicon());
System\Windows\Forms\DragDropHelperTests.cs (6)
18
yield return new object[] { new DataObject(), new
Bitmap
(1, 1), new Point(1, 1), false };
20
yield return new object[] { new DataObject(), new
Bitmap
(1, 1), new Point(1, 1), true };
25
yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, new
Bitmap
(1, 1), new Point(0, 0), false) };
27
yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, new
Bitmap
(1, 1), new Point(0, 0), true) };
156
using Bitmap bitmap =
new
(1, 1);
164
using Bitmap bitmap =
new
(1, 1);
System\Windows\Forms\DrawItemEventArgsTests.cs (4)
24
using Bitmap image =
new
(10, 10);
49
using Bitmap image =
new
(10, 10);
89
using Bitmap image =
new
(10, 10);
99
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DrawListViewColumnHeaderEventArgsTests.cs (6)
23
using Bitmap image =
new
(10, 10);
47
using Bitmap image =
new
(10, 10);
75
using Bitmap image =
new
(10, 10);
87
using Bitmap image =
new
(10, 10);
97
using Bitmap image =
new
(10, 10);
113
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (7)
23
using Bitmap image =
new
(10, 10);
44
using Bitmap image =
new
(10, 10);
53
using Bitmap image =
new
(10, 10);
112
using Bitmap image =
new
(10, 10);
122
using Bitmap image =
new
(10, 10);
132
using Bitmap image =
new
(10, 10);
142
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DrawListViewSubItemEventArgsTests.cs (6)
24
using Bitmap image =
new
(10, 10);
47
using Bitmap image =
new
(10, 10);
57
using Bitmap image =
new
(10, 10);
66
using Bitmap image =
new
(10, 10);
116
using Bitmap image =
new
(10, 10);
126
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DrawToolTipEventArgsTests.cs (5)
22
using Bitmap image =
new
(10, 10);
47
using Bitmap image =
new
(10, 10);
57
using Bitmap image =
new
(10, 10);
67
using Bitmap image =
new
(10, 10);
77
using Bitmap image =
new
(10, 10);
System\Windows\Forms\DrawTreeNodeEventArgsTests.cs (2)
22
using Bitmap image =
new
(10, 10);
36
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ErrorProviderTests.cs (3)
535
yield return new object[] { Icon.FromHandle(new
Bitmap
(10, 10).GetHicon()) };
561
provider.Icon = Icon.FromHandle(new
Bitmap
(10, 10).GetHicon());
573
provider.Icon = Icon.FromHandle(new
Bitmap
(10, 10).GetHicon());
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (4)
25
GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new
Bitmap
(1, 1), new Point(0, 0), false)
42
GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new
Bitmap
(2, 2), new Point(0, 0), false)
51
yield return new object[] { new
Bitmap
(1, 1) };
72
GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new
Bitmap
(1, 1), new Point(0, 0), false)
System\Windows\Forms\GroupBoxTests.cs (6)
1849
using Bitmap image =
new
(10, 10);
1887
using Bitmap image =
new
(10, 10);
2087
using Bitmap image =
new
(10, 10);
2125
using Bitmap image =
new
(10, 10);
2188
using Bitmap image =
new
(10, 10);
2233
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ImageList.ImageCollectionTests.cs (78)
231
using Bitmap image =
new
(10, 10);
242
yield return new object[] { transparentColor, new
Bitmap
(10, 10) };
243
yield return new object[] { transparentColor, new
Bitmap
(16, 16) };
244
yield return new object[] { transparentColor, new
Bitmap
(32, 32) };
245
yield return new object[] { transparentColor, new
Bitmap
(256, 256) };
247
Bitmap bitmap =
new
(16, 16);
259
using Bitmap image =
new
(10, 10);
280
using Bitmap image =
new
(10, 10);
313
using Bitmap image =
new
(10, 10);
323
using Bitmap image =
new
(10, 10);
334
using Bitmap image =
new
(10, 10);
350
using Bitmap image1 =
new
(1, 2);
352
using Bitmap image2 =
new
(3, 4);
382
using Bitmap image1 =
new
(1, 2);
383
using Bitmap image2 =
new
(3, 4);
422
yield return new object[] { transparentColor, new
Bitmap
(10, 10) };
423
yield return new object[] { transparentColor, new
Bitmap
(16, 16) };
424
yield return new object[] { transparentColor, new
Bitmap
(32, 32) };
425
yield return new object[] { transparentColor, new
Bitmap
(256, 256) };
427
Bitmap bitmap =
new
(16, 16);
579
yield return new object[] { listTransparentColor, new
Bitmap
(10, 10), transparentColor };
580
yield return new object[] { listTransparentColor, new
Bitmap
(16, 16), transparentColor };
581
yield return new object[] { listTransparentColor, new
Bitmap
(32, 32), transparentColor };
582
yield return new object[] { listTransparentColor, new
Bitmap
(256, 256), transparentColor };
584
Bitmap bitmap =
new
(16, 16);
891
yield return new object[] { transparentColor, new
Bitmap
(16, 16), 1 };
892
yield return new object[] { transparentColor, new
Bitmap
(32, 16), 2 };
893
yield return new object[] { transparentColor, new
Bitmap
(256, 16), 16 };
895
Bitmap bitmap =
new
(16, 16);
952
using Bitmap image =
new
(width, 16);
964
using Bitmap image =
new
(16, width);
992
using Bitmap image =
new
(10, 10);
1035
using Bitmap image =
new
(10, 10);
1057
yield return new object[] { new
Bitmap
(10, 10) };
1083
using Bitmap image1 =
new
(1, 2);
1084
using Bitmap image2 =
new
(3, 4);
1085
using Bitmap image3 =
new
(5, 6);
1155
using Bitmap image1 =
new
(1, 2);
1157
using Bitmap image2 =
new
(3, 4);
1192
using Bitmap image1 =
new
(1, 2);
1194
using Bitmap image2 =
new
(3, 4);
1239
using Bitmap image1 =
new
(1, 2);
1240
using Bitmap image2 =
new
(3, 4);
1241
using Bitmap image3 =
new
(5, 6);
1271
yield return new object[] { new
Bitmap
(10, 10) };
1287
yield return new object[] { new
Bitmap
(10, 10) };
1304
using Bitmap image1 =
new
(1, 2);
1306
using Bitmap image2 =
new
(3, 4);
1308
using Bitmap image3 =
new
(3, 4);
1338
using Bitmap image1 =
new
(1, 2);
1340
using Bitmap image2 =
new
(3, 4);
1342
using Bitmap image3 =
new
(3, 4);
1391
using Bitmap image =
new
(10, 10);
1402
using Bitmap image1 =
new
(1, 2);
1404
using Bitmap image2 =
new
(3, 4);
1406
using Bitmap image3 =
new
(3, 4);
1442
using Bitmap image1 =
new
(1, 2);
1444
using Bitmap image2 =
new
(3, 4);
1446
using Bitmap image3 =
new
(3, 4);
1494
using Bitmap image1 =
new
(1, 2);
1496
using Bitmap image2 =
new
(3, 4);
1498
using Bitmap image3 =
new
(3, 4);
1543
using Bitmap image1 =
new
(1, 2);
1544
using Bitmap image2 =
new
(3, 4);
1564
using Bitmap image1 =
new
(1, 2);
1565
using Bitmap image2 =
new
(3, 4);
1597
using Bitmap image =
new
(10, 10);
1632
using Bitmap image =
new
(10, 10);
1653
using Bitmap image =
new
(10, 10);
1679
using Bitmap value =
new
(1, 2);
1688
using Bitmap image =
new
(10, 10);
1693
using Bitmap value =
new
(1, 2);
1707
using Bitmap image =
new
(10, 10);
1718
using Bitmap image =
new
(10, 10);
1729
yield return new object[] { new
Bitmap
(10, 10) };
1760
yield return new object[] { new
Bitmap
(10, 10) };
1795
yield return new object[] { index, new
Bitmap
(10, 10) };
1812
yield return new object[] { new
Bitmap
(10, 10) };
System\Windows\Forms\ImageListTests.cs (32)
200
list.Images.Add(new
Bitmap
(10, 10));
394
list.Images.Add(new
Bitmap
(10, 10));
432
list.Images.Add(new
Bitmap
(10, 10));
461
using Bitmap image =
new
(10, 10);
498
Bitmap image =
new
(10, 10);
525
Bitmap image =
new
(10, 10);
550
Bitmap image =
new
(10, 10);
575
Bitmap image =
new
(10, 10);
599
Bitmap image =
new
(10, 10);
625
list.Images.Add(new
Bitmap
(10, 10));
644
list.Images.Add(new
Bitmap
(10, 10));
810
list.Images.Add(new
Bitmap
(10, 10));
831
using Bitmap bitmap =
new
(10, 10);
852
using Bitmap bitmap1 =
new
(10, 10);
853
using Bitmap bitmap2 =
new
(10, 10);
887
using Bitmap bitmap =
new
(10, 10);
927
using Bitmap image =
new
(10, 10);
930
using Bitmap sourceImage =
new
(10, 10);
941
using Bitmap image =
new
(10, 10);
945
using Bitmap sourceImage =
new
(10, 10);
956
using Bitmap image =
new
(10, 10);
959
using Bitmap sourceImage =
new
(10, 10);
970
using Bitmap image =
new
(10, 10);
974
using Bitmap sourceImage =
new
(10, 10);
994
using Bitmap image =
new
(10, 10);
997
using Bitmap sourceImage =
new
(10, 10);
1008
using Bitmap image =
new
(10, 10);
1012
using Bitmap sourceImage =
new
(10, 10);
1022
using Bitmap image =
new
(10, 10);
1037
using Bitmap sourceImage =
new
(10, 10);
1050
using Bitmap image =
new
(10, 10);
1053
using Bitmap sourceImage =
new
(10, 10);
System\Windows\Forms\LabelTests.cs (9)
504
using Bitmap image1 =
new
(10, 10);
513
using Bitmap image2 =
new
(50, 10);
542
using Bitmap image =
new
(10, 10);
614
using Bitmap bitmap1 =
new
(10, 10);
615
using Bitmap bitmap2 =
new
(10, 10);
648
using Bitmap bitmap1 =
new
(10, 10);
649
using Bitmap bitmap2 =
new
(10, 10);
682
using Bitmap image =
new
(10, 10);
708
using Bitmap bitmap =
new
(10, 10);
System\Windows\Forms\ListBoxTests.cs (4)
503
using Bitmap image1 =
new
(10, 10);
514
using Bitmap image2 =
new
(10, 10);
5518
Bitmap bitmap =
new
(10, 10);
5639
using Bitmap bitmap =
new
(10, 10);
System\Windows\Forms\ListViewGroupTests.cs (3)
216
groupImageList.Images.Add(new
Bitmap
(10, 10));
217
groupImageList.Images.Add(new
Bitmap
(20, 20));
357
groupImageList.Images.Add(value.Key, new
Bitmap
(10, 10));
System\Windows\Forms\ListViewTests.cs (3)
643
BackgroundImage = new
Bitmap
(10, 10),
703
BackgroundImage = new
Bitmap
(10, 10)
4293
nonEmptyImageList.Images.Add(new
Bitmap
(10, 10));
System\Windows\Forms\MdiClientTests.cs (4)
178
using Bitmap image =
new
(10, 10);
225
using Bitmap image1 =
new
(10, 10);
236
using Bitmap image2 =
new
(10, 10);
257
using Bitmap image =
new
(10, 10);
System\Windows\Forms\MdiControlStripTests.cs (1)
329
HICON hicon = (HICON)new
Bitmap
(256, 256).GetHicon();
System\Windows\Forms\MeasureItemEventArgsTests.cs (4)
13
Bitmap image =
new
(10, 10);
34
Bitmap image =
new
(10, 10);
59
using Bitmap image =
new
(10, 10);
74
using Bitmap image =
new
(10, 10);
System\Windows\Forms\MenuStripTests.cs (3)
441
yield return new object[] { string.Empty, new
Bitmap
(10, 10), onClick };
442
yield return new object[] { "text", new
Bitmap
(10, 10), onClick };
460
yield return new object[] { new
Bitmap
(10, 10), onClick };
System\Windows\Forms\MonthCalendarTests.cs (2)
403
using Bitmap image1 =
new
(10, 10);
414
using Bitmap image2 =
new
(10, 10);
System\Windows\Forms\PaintEventArgsTests.cs (3)
22
using Bitmap image =
new
(10, 10);
39
using Bitmap image =
new
(10, 10);
51
using Bitmap image =
new
(10, 10);
System\Windows\Forms\PictureBoxTests.cs (20)
333
ErrorImage = new
Bitmap
(10, 10)
369
ErrorImage = new
Bitmap
(10, 10)
386
using Bitmap image =
new
(10, 10);
403
using Bitmap image =
new
(10, 10);
549
Image = new
Bitmap
(10, 10)
581
Image = new
Bitmap
(10, 10)
596
using Bitmap image =
new
(10, 10);
613
using Bitmap image =
new
(10, 10);
650
using Bitmap image =
new
(10, 10);
808
yield return new object[] { new
Bitmap
(10, 10), new
Bitmap
(10, 10), value };
809
yield return new object[] { new
Bitmap
(10, 10), null, value };
810
yield return new object[] { null, new
Bitmap
(10, 10), value };
1030
InitialImage = new
Bitmap
(10, 10)
1066
InitialImage = new
Bitmap
(10, 10)
1083
using Bitmap image =
new
(10, 10);
1100
using Bitmap image =
new
(10, 10);
1926
using Bitmap image =
new
(10, 10);
2496
using Bitmap image =
new
(10, 10);
2588
Image = new
Bitmap
(10, 10)
System\Windows\Forms\ProgressBarRendererTest.cs (2)
66
using Bitmap bitmap1 =
new
(100, 100);
67
using Bitmap bitmap2 =
new
(100, 100);
System\Windows\Forms\ProgressBarTests.cs (2)
247
Bitmap image1 =
new
(10, 10);
258
Bitmap image2 =
new
(10, 10);
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (1)
79
_bitmap = new
Bitmap
(1, 1);
System\Windows\Forms\PropertyGridTests.cs (3)
440
using Bitmap image1 =
new
(10, 10);
451
using Bitmap image2 =
new
(10, 10);
2378
public override Bitmap Bitmap =>
new
(10, 10);
System\Windows\Forms\RichTextBoxTests.ClipboardTests.cs (1)
21
using Bitmap bitmap =
new
(100, 100);
System\Windows\Forms\RichTextBoxTests.cs (3)
768
using Bitmap image1 =
new
(10, 10);
779
using Bitmap image2 =
new
(10, 10);
10661
using Bitmap bitmap1 =
new
(10, 10);
System\Windows\Forms\ScrollableControlTests.cs (4)
1530
using Bitmap image =
new
(10, 10);
1677
using Bitmap image =
new
(10, 10);
1729
using Bitmap image =
new
(10, 10);
1817
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ScrollBarTests.cs (2)
275
using Bitmap image1 =
new
(10, 10);
286
using Bitmap image2 =
new
(10, 10);
System\Windows\Forms\SplitterTests.cs (2)
229
using Bitmap image1 =
new
(10, 10);
240
using Bitmap image2 =
new
(10, 10);
System\Windows\Forms\StatusStripTests.cs (4)
875
yield return new object[] { string.Empty, new
Bitmap
(10, 10), onClick };
876
yield return new object[] { "text", new
Bitmap
(10, 10), onClick };
877
yield return new object[] { "-", new
Bitmap
(10, 10), onClick };
1210
using Bitmap image =
new
(10, 10);
System\Windows\Forms\TabControlTests.cs (6)
647
using Bitmap image1 =
new
(10, 10);
658
using Bitmap image2 =
new
(10, 10);
1265
using Bitmap image1 =
new
(10, 10);
1266
using Bitmap image2 =
new
(10, 10);
1267
using Bitmap image3 =
new
(10, 10);
4220
Bitmap bitmap =
new
(10, 10);
System\Windows\Forms\TableLayoutCellPaintEventArgsTests.cs (1)
23
using Bitmap image =
new
(10, 10);
System\Windows\Forms\TableLayoutPanelTests.cs (3)
1208
Bitmap image =
new
(10, 10);
1429
using Bitmap image =
new
(10, 10);
1469
using Bitmap image =
new
(10, 10);
System\Windows\Forms\TabPageTests.cs (4)
3976
using Bitmap image =
new
(10, 10);
4046
using Bitmap image =
new
(10, 10);
4102
using Bitmap image =
new
(10, 10);
4185
using Bitmap image =
new
(10, 10);
System\Windows\Forms\TextRendererTests.cs (16)
35
using Bitmap image =
new
(10, 10);
69
using Bitmap image =
new
(10, 10);
106
using Bitmap image =
new
(10, 10);
147
using Bitmap image =
new
(10, 10);
179
using Bitmap image =
new
(10, 10);
215
using Bitmap image =
new
(10, 10);
255
using Bitmap image =
new
(10, 10);
299
using Bitmap image =
new
(10, 10);
311
using Bitmap image =
new
(10, 10);
472
using Bitmap image =
new
(10, 10);
487
using Bitmap image =
new
(10, 10);
502
using Bitmap image =
new
(10, 10);
517
using Bitmap image =
new
(10, 10);
536
using Bitmap image =
new
(10, 10);
725
using Bitmap image =
new
(200, 50);
802
using Bitmap image =
new
(200, 50);
System\Windows\Forms\ToolStripArrowRenderEventArgsTests.cs (4)
19
Bitmap image =
new
(10, 10);
49
using Bitmap image =
new
(10, 10);
69
using Bitmap image =
new
(10, 10);
84
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripButtonTests.cs (9)
178
yield return new object[] { new
Bitmap
(10, 10) };
267
yield return new object[] { text, new
Bitmap
(10, 10) };
357
yield return new object[] { string.Empty, new
Bitmap
(10, 10), onClick };
358
yield return new object[] { "text", new
Bitmap
(10, 10), onClick };
455
yield return new object[] { string.Empty, new
Bitmap
(10, 10), onClick, string.Empty, string.Empty };
456
yield return new object[] { "text", new
Bitmap
(10, 10), onClick, "name", "name" };
1264
using Bitmap image =
new
(10, 10);
1355
using Bitmap image =
new
(10, 10);
1448
Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapterTests.cs (1)
77
using Bitmap bitmap =
new
(100, 100);
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
144
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripContentPanelRenderEventArgsTests.cs (3)
12
Bitmap image =
new
(10, 10);
30
using Bitmap image =
new
(10, 10);
44
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1853
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripControlHostTests.cs (11)
28
BackgroundImage = new
Bitmap
(10, 10),
399
yield return new object[] { new
Bitmap
(10, 10) };
431
using Bitmap value =
new
(10, 10);
558
using Bitmap backgroundImage =
new
(10, 10);
852
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
1210
yield return new object[] { imageTransparentColor, new
Bitmap
(10, 10) };
1336
yield return new object[] { new
Bitmap
(10, 10), color };
1368
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
2394
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
3039
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
4108
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripDropDownItemTests.cs (6)
99
yield return new object[] { string.Empty, new
Bitmap
(10, 10), onClick };
100
yield return new object[] { "text", new
Bitmap
(10, 10), onClick };
198
yield return new object[] { string.Empty, new
Bitmap
(10, 10), onClick, string.Empty, string.Empty };
199
yield return new object[] { "text", new
Bitmap
(10, 10), onClick, "name", "name" };
295
yield return new object[] { string.Empty, new
Bitmap
(10, 10), Array.Empty<ToolStripItem>(), Array.Empty<ToolStripItem>() };
298
yield return new object[] { "text", new
Bitmap
(10, 10), items, items };
System\Windows\Forms\ToolStripDropDownTests.cs (5)
823
using Bitmap image1 =
new
(10, 10);
834
using Bitmap image2 =
new
(10, 10);
2953
yield return new object[] { string.Empty, new
Bitmap
(10, 10), onClick };
2954
yield return new object[] { "text", new
Bitmap
(10, 10), onClick };
2972
yield return new object[] { new
Bitmap
(10, 10), onClick };
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (2)
12
Bitmap image =
new
(10, 10);
29
Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripItemCollectionTests.cs (2)
339
using Bitmap image =
new
(10, 10);
353
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripItemImageRenderEventArgsTests.cs (6)
12
Bitmap image =
new
(10, 10);
29
Bitmap image =
new
(10, 10);
74
using Bitmap image =
new
(10, 10);
92
yield return new object[] { new ToolStripButton(), new
Bitmap
(10, 10), new Rectangle(1, 2, 3, 4) };
93
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)
12
Bitmap image =
new
(10, 10);
29
Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripItemTests.cs (56)
98
yield return new object[] { string.Empty, new
Bitmap
(10, 10), onClick };
99
yield return new object[] { "text", new
Bitmap
(10, 10), onClick };
193
yield return new object[] { string.Empty, new
Bitmap
(10, 10), onClick, string.Empty, string.Empty };
194
yield return new object[] { "text", new
Bitmap
(10, 10), onClick, "name", "name" };
1290
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
1768
yield return new object[] { new
Bitmap
(10, 10) };
1864
yield return new object[] { new
Bitmap
(10, 10), 1 };
2510
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
2844
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
3693
using Bitmap image =
new
(10, 10);
3714
using Bitmap image =
new
(10, 10);
3761
using Bitmap image =
new
(10, 10);
3784
yield return new object[] { imageTransparentColor, new
Bitmap
(10, 10) };
3814
yield return new object[] { imageTransparentColor, new
Bitmap
(10, 10), -1 };
3844
using Bitmap oldValue =
new
(10, 10);
3865
using Bitmap oldValue =
new
(10, 10);
3888
yield return new object[] { imageTransparentColor, new
Bitmap
(10, 10), 1 };
4087
using Bitmap image =
new
(10, 10);
4101
using Bitmap image =
new
(10, 10);
4115
using Bitmap otherImage =
new
(10, 10);
4132
using Bitmap image =
new
(10, 10);
4146
using Bitmap image =
new
(10, 10);
4160
using Bitmap otherImage =
new
(10, 10);
4406
using Bitmap image =
new
(10, 10);
4498
using Bitmap image =
new
(10, 10);
4641
using Bitmap image =
new
(10, 10);
4758
using Bitmap image =
new
(10, 10);
4783
using Bitmap image =
new
(10, 10);
4837
using Bitmap image =
new
(10, 10);
4861
using Bitmap image =
new
(10, 10);
4914
using Bitmap image =
new
(10, 10);
5000
using Bitmap image =
new
(10, 10);
5137
using Bitmap image =
new
(10, 10);
5251
using Bitmap image =
new
(10, 10);
5282
using Bitmap image =
new
(10, 10);
5343
using Bitmap image =
new
(10, 10);
5374
using Bitmap image =
new
(10, 10);
5602
yield return new object[] { new
Bitmap
(10, 10), color };
5668
yield return new object[] { new
Bitmap
(10, 10), Color.Empty, 0 };
5669
yield return new object[] { new
Bitmap
(10, 10), Color.Red, 1 };
5735
yield return new object[] { new
Bitmap
(10, 10), Color.Empty, 0 };
5736
yield return new object[] { new
Bitmap
(10, 10), Color.Red, 1 };
6947
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
9340
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
9874
using Bitmap image =
new
(10, 10);
9910
using Bitmap image =
new
(10, 10);
9952
using Bitmap image =
new
(10, 10);
10025
using Bitmap image =
new
(10, 10);
10063
using Bitmap image =
new
(10, 10);
10107
using Bitmap image =
new
(10, 10);
11096
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
12523
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
13189
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
14168
item.Image = new
Bitmap
(10, 10);
14820
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
15002
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
System\Windows\Forms\ToolStripItemTextRenderEventArgsTests.cs (4)
21
using Bitmap image =
new
(10, 10);
47
using Bitmap image =
new
(10, 10);
64
using Bitmap image =
new
(10, 10);
80
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripLabelTests.cs (4)
40
using Bitmap image =
new
(10, 10);
52
using Bitmap image =
new
(10, 10);
65
using Bitmap image =
new
(10, 10);
79
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripMenuItemTests.cs (8)
191
using Bitmap image =
new
(10, 10);
206
using Bitmap image =
new
(10, 10);
224
using Bitmap image =
new
(10, 10);
242
using Bitmap image =
new
(10, 10);
277
BackgroundImage = new
Bitmap
(10, 10),
288
Image = new
Bitmap
(10, 10),
364
accessor.t_indeterminateCheckedImage = new
Bitmap
(10, 10);
365
accessor.t_checkedImage = new
Bitmap
(10, 10);
System\Windows\Forms\ToolStripPanelRenderEventArgsTests.cs (3)
12
Bitmap image =
new
(10, 10);
30
using Bitmap image =
new
(10, 10);
44
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripRendererTests.cs (17)
14
using Bitmap image =
new
(10, 11);
44
using Bitmap image =
new
(10, 10);
79
Bitmap image =
new
(10, 10);
136
Bitmap image =
new
(10, 10);
191
Bitmap image =
new
(10, 10);
193
yield return new object[] { graphics, new SubToolStripItem(), new
Bitmap
(10, 10), new Rectangle(1, 2, 3, 4) };
194
yield return new object[] { graphics, new SubToolStripItem { Enabled = false }, new
Bitmap
(10, 10), new Rectangle(1, 2, 3, 4) };
198
yield return new object[] { graphics, new SubToolStripItem { ImageScaling = imageScaling }, new
Bitmap
(10, 10), new Rectangle(1, 2, 3, 4) };
312
using Bitmap image =
new
(10, 10);
419
Bitmap image =
new
(10, 10);
485
using Bitmap image =
new
(10, 10);
520
Bitmap image =
new
(10, 10);
602
Bitmap image =
new
(10, 10);
659
Bitmap image =
new
(10, 10);
724
using Bitmap image =
new
(10, 10);
841
using Bitmap image =
new
(10, 10);
918
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (4)
12
Bitmap image =
new
(10, 10);
39
using Bitmap image =
new
(10, 10);
63
using Bitmap image =
new
(10, 10);
92
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripSeparatorRenderEventArgsTests.cs (2)
12
Bitmap image =
new
(10, 10);
29
Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripSeparatorTests.cs (7)
113
yield return new object[] { new
Bitmap
(10, 10) };
244
foreach (Image image in new Image[] { null, new
Bitmap
(10, 10) })
420
yield return new object[] { imageTransparentColor, new
Bitmap
(10, 10) };
530
yield return new object[] { new
Bitmap
(10, 10), color };
1117
Bitmap image =
new
(10, 10);
1211
using Bitmap image =
new
(10, 10);
1282
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripSplitButtonTests.cs (5)
99
using Bitmap image =
new
(10, 10);
110
using Bitmap image =
new
(10, 10);
124
using Bitmap image =
new
(10, 10);
141
using Bitmap image =
new
(10, 10);
156
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripStatusLabelTests.cs (4)
36
using Bitmap sampleImage =
new
(10, 10);
46
using Bitmap sampleImage =
new
(10, 10);
56
using Bitmap sampleImage =
new
(10, 10);
74
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripTests.cs (9)
4271
yield return new object[] { string.Empty, new
Bitmap
(10, 10), onClick };
4272
yield return new object[] { "text", new
Bitmap
(10, 10), onClick };
4290
yield return new object[] { new
Bitmap
(10, 10), onClick };
5871
using Bitmap image =
new
(10, 10);
6018
using Bitmap image =
new
(10, 10);
6069
using Bitmap image =
new
(10, 10);
6156
using Bitmap image =
new
(10, 10);
6231
using Bitmap image =
new
(10, 10);
6260
using Bitmap image =
new
(10, 10);
System\Windows\Forms\ToolStripTextBoxTests.cs (1)
55
using Image image = new
Bitmap
(width, height);
System\Windows\Forms\TrackBarRendererTests.cs (1)
18
_bitmap =
new
(100, 100);
System\Windows\Forms\TreeNodeTests.cs (51)
1000
using Bitmap image =
new
(10, 10);
1039
using Bitmap image =
new
(10, 10);
1073
using Bitmap image =
new
(10, 10);
1104
using Bitmap image =
new
(10, 10);
1119
using Bitmap image1 =
new
(10, 10);
1120
using Bitmap image2 =
new
(10, 10);
1186
using Bitmap image =
new
(10, 10);
1253
using Bitmap image1 =
new
(10, 10);
1254
using Bitmap image2 =
new
(10, 10);
1410
using Bitmap image1 =
new
(10, 10);
1411
using Bitmap image2 =
new
(10, 10);
1500
using Bitmap image1 =
new
(10, 10);
1501
using Bitmap image2 =
new
(10, 10);
1530
using Bitmap image1 =
new
(10, 10);
1531
using Bitmap image2 =
new
(10, 10);
2982
using Bitmap image =
new
(10, 10);
3021
using Bitmap image =
new
(10, 10);
3055
using Bitmap image =
new
(10, 10);
3086
using Bitmap image =
new
(10, 10);
3101
using Bitmap image1 =
new
(10, 10);
3102
using Bitmap image2 =
new
(10, 10);
3168
using Bitmap image =
new
(10, 10);
3208
using Bitmap image1 =
new
(10, 10);
3209
using Bitmap image2 =
new
(10, 10);
3237
using Bitmap image1 =
new
(10, 10);
3238
using Bitmap image2 =
new
(10, 10);
3394
using Bitmap image1 =
new
(10, 10);
3395
using Bitmap image2 =
new
(10, 10);
3484
using Bitmap image1 =
new
(10, 10);
3485
using Bitmap image2 =
new
(10, 10);
3514
using Bitmap image1 =
new
(10, 10);
3515
using Bitmap image2 =
new
(10, 10);
3605
using Bitmap image =
new
(10, 10);
3648
using Bitmap image =
new
(10, 10);
3697
using Bitmap image =
new
(10, 10);
3729
using Bitmap image =
new
(10, 10);
3752
using Bitmap image1 =
new
(10, 10);
3753
using Bitmap image2 =
new
(10, 10);
3873
using Bitmap image1 =
new
(10, 10);
3874
using Bitmap image2 =
new
(10, 10);
3903
using Bitmap image1 =
new
(10, 10);
3904
using Bitmap image2 =
new
(10, 10);
3966
using Bitmap image =
new
(10, 10);
4142
using Bitmap image1 =
new
(10, 10);
4143
using Bitmap image2 =
new
(10, 10);
4243
using Bitmap image1 =
new
(10, 10);
4244
using Bitmap image2 =
new
(10, 10);
4281
using Bitmap image1 =
new
(10, 10);
4282
using Bitmap image2 =
new
(10, 10);
4441
using Bitmap image1 =
new
(10, 10);
4442
using Bitmap image2 =
new
(10, 10);
System\Windows\Forms\TreeViewTests.cs (30)
820
using Bitmap image1 =
new
(10, 10);
831
using Bitmap image2 =
new
(10, 10);
2102
imageList.Images.Add(new
Bitmap
(10, 10));
2103
imageList.Images.Add(new
Bitmap
(10, 10));
2126
imageList.Images.Add(new
Bitmap
(10, 10));
2127
imageList.Images.Add("imageKey", new
Bitmap
(10, 10));
2194
imageList.Images.Add(new
Bitmap
(10, 10));
2195
imageList.Images.Add(new
Bitmap
(10, 10));
2310
imageList.Images.Add(new
Bitmap
(10, 10));
2311
imageList.Images.Add("imageKey", new
Bitmap
(10, 10));
2336
imageList.Images.Add(new
Bitmap
(10, 10));
2337
imageList.Images.Add("imageKey", new
Bitmap
(10, 10));
2397
imageList.Images.Add(new
Bitmap
(10, 10));
2398
imageList.Images.Add("imageKey", new
Bitmap
(10, 10));
2421
imageList.Images.Add(new
Bitmap
(10, 10));
3462
imageList.Images.Add(new
Bitmap
(10, 10));
3463
imageList.Images.Add(new
Bitmap
(10, 10));
3486
imageList.Images.Add(new
Bitmap
(10, 10));
3487
imageList.Images.Add("imageKey", new
Bitmap
(10, 10));
3554
imageList.Images.Add(new
Bitmap
(10, 10));
3555
imageList.Images.Add(new
Bitmap
(10, 10));
3660
imageList.Images.Add(new
Bitmap
(10, 10));
3661
imageList.Images.Add("imageKey", new
Bitmap
(10, 10));
3686
imageList.Images.Add(new
Bitmap
(10, 10));
3687
imageList.Images.Add("imageKey", new
Bitmap
(10, 10));
3747
imageList.Images.Add(new
Bitmap
(10, 10));
3748
imageList.Images.Add("imageKey", new
Bitmap
(10, 10));
5666
Bitmap image =
new
(10, 10);
6004
yield return new object[] { new Image[] { new
Bitmap
(10, 10) }, null, true };
6006
yield return new object[] { new Image[] { new
Bitmap
(10, 10) }, new EventArgs(), true };
System\Windows\Forms\UpDownBaseTests.cs (4)
632
using Bitmap image1 =
new
(10, 10);
643
using Bitmap image2 =
new
(10, 10);
2245
using Bitmap image =
new
(10, 10);
2281
using Bitmap image =
new
(10, 10);
System\Windows\Forms\UserControlTests.cs (2)
1094
using Bitmap backgroundImage =
new
(10, 10);
1192
using Bitmap backgroundImage =
new
(10, 10);
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (25)
136
using Bitmap bitmap =
new
(10, 10);
170
using Bitmap bitmap =
new
(10, 10);
205
using Bitmap bitmap =
new
(10, 10);
223
using Bitmap bitmap =
new
(10, 10);
233
using Bitmap bitmap =
new
(10, 10);
243
using Bitmap bitmap =
new
(10, 10);
267
using Bitmap bitmap =
new
(10, 10);
269
using Bitmap image =
new
(10, 10);
280
using Bitmap bitmap =
new
(10, 10);
282
using Bitmap image =
new
(10, 10);
293
using Bitmap image =
new
(10, 10);
303
using Bitmap image =
new
(10, 10);
304
using Bitmap bitmap =
new
(10, 10);
313
using Bitmap image =
new
(10, 10);
314
using Bitmap bitmap =
new
(10, 10);
325
using Bitmap bitmap =
new
(10, 10);
327
using Bitmap image =
new
(10, 10);
352
using Bitmap bitmap =
new
(10, 10);
379
using Bitmap bitmap =
new
(10, 10);
418
using Bitmap bitmap =
new
(10, 10);
449
using Bitmap bitmap =
new
(10, 10);
480
using Bitmap bitmap =
new
(10, 10);
490
using Bitmap image =
new
(10, 10);
571
using Bitmap image =
new
(10, 10);
583
using Bitmap image =
new
(10, 10);
TextBoxBaseTests.cs (2)
470
using Bitmap image1 =
new
(10, 10);
481
using Bitmap image2 =
new
(10, 10);
ToolStripContainerTests.cs (3)
72
using Image value = new
Bitmap
(10, 10);
85
_toolStripContainer.BackgroundImage = new
Bitmap
(10, 10);
90
_toolStripContainer.BackgroundImage = new
Bitmap
(20, 20);
TrackBarTests.cs (3)
465
using Bitmap image1 =
new
(10, 10);
476
using Bitmap image2 =
new
(10, 10);
3243
using Bitmap bitmap =
new
(bitmapWidth, bitmapHeight);
WebBrowserBaseTests.cs (5)
672
using Bitmap bitmap =
new
(20, 20);
694
using Bitmap bitmap =
new
(20, 20);
723
using Bitmap bitmap =
new
(10, 10);
737
using Bitmap bitmap =
new
(10, 10);
751
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)
183
SD.Bitmap bitmap = new SD.
Bitmap
(control.ClientRectangle.Width, control.ClientRectangle.Height);
201
SD.Bitmap returnBitmap = new SD.
Bitmap
(childElementHost.ClientRectangle.Width, childElementHost.ClientRectangle.Height);
285
return new SD.
Bitmap
(1, 1);