1433 references to FromArgb
System.ComponentModel.TypeConverter (1)
src\libraries\Common\src\System\Drawing\ColorConverterCommon.cs (1)
66
4 => PossibleKnownColor(Color.
FromArgb
(IntFromString(textSpan[tokens[0]], culture), IntFromString(textSpan[tokens[1]], culture), IntFromString(textSpan[tokens[2]], culture), IntFromString(textSpan[tokens[3]], culture))),
System.Drawing.Common.Tests (203)
Helpers.cs (1)
85
public static Color EmptyColor => Color.
FromArgb
(0, 0, 0, 0);
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
448
Assert.Equal(Color.
FromArgb
(255, 138, 43, 226), color);
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
202
Assert.Equal(Color.
FromArgb
(255, 255, 0, 0), color);
mono\System.Drawing.Imaging\IconCodecTests.cs (1)
1889
Assert.Equal(Color.
FromArgb
(255, 255, 0, 0), color);
mono\System.Drawing.Imaging\PngCodecTests.cs (1)
588
Assert.Equal(Color.
FromArgb
(255, 138, 43, 226), color);
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
259
Assert.Equal(Color.
FromArgb
(255, 138, 43, 226), color);
mono\System.Drawing\BitmapTests.cs (15)
49
bmp.SetPixel(0, 0, Color.
FromArgb
(255, 128, 128, 128));
52
Assert.Equal(Color.
FromArgb
(255, 128, 128, 128), color);
54
bmp.SetPixel(99, 99, Color.
FromArgb
(255, 255, 0, 155));
56
Assert.Equal(Color.
FromArgb
(255, 255, 0, 155), color2);
154
Color a = Color.
FromArgb
(128, 64, 32, 16);
155
Color b = Color.
FromArgb
(192, 96, 48, 24);
212
Assert.Equal(Color.
FromArgb
(255, 64, 32, 16), c);
213
Assert.Equal(Color.
FromArgb
(255, 96, 48, 24), d);
462
Color c = Color.
FromArgb
(255, 100, 200, 250);
674
Color red = Color.
FromArgb
(Color.Red.A, Color.Red.R, Color.Red.G, Color.Red.B);
675
Color blue = Color.
FromArgb
(Color.Blue.A, Color.Blue.R, Color.Blue.G, Color.Blue.B);
693
pixel_colour = Color.
FromArgb
(red.A, pixel_colour.R, pixel_colour.G, pixel_colour.B);
707
pixel_colour = Color.
FromArgb
(red.A, pixel_colour.R, pixel_colour.G, pixel_colour.B);
726
pixel_colour = Color.
FromArgb
(blue.A, pixel_colour.R, pixel_colour.G, pixel_colour.B);
742
pixel_colour = Color.
FromArgb
(red.A, r, g, b);
System\Drawing\BitmapTests.cs (16)
390
Assert.Equal(Color.
FromArgb
(255, expectedColor.R, expectedColor.G, expectedColor.B), clone.GetPixel(x, y));
811
Assert.Equal(Color.
FromArgb
(255, 211, 211, 211), bitmap.GetPixel(x, y));
815
Assert.Equal(Color.
FromArgb
(0, 0, 0, 0), bitmap.GetPixel(x, y));
847
Assert.Equal(Color.
FromArgb
(0, 0, 0, 0), bitmap.GetPixel(x, y));
851
Assert.Equal(Color.
FromArgb
(255, 255, 0, 0), bitmap.GetPixel(x, y));
874
Assert.Equal(Color.
FromArgb
(255, 0, 0, 255), bitmap.GetPixel(x, y));
914
yield return new object[] { new Bitmap(100, 100, PixelFormat.Format32bppRgb), 0, 0, Color.
FromArgb
(255, 128, 128, 128) };
915
yield return new object[] { new Bitmap(100, 100, PixelFormat.Format32bppRgb), 99, 99, Color.
FromArgb
(255, 128, 128, 128) };
1288
Color a = Color.
FromArgb
(128, 64, 32, 16);
1289
Color b = Color.
FromArgb
(192, 96, 48, 24);
1344
Assert.Equal(Color.
FromArgb
(255, 64, 32, 16), c);
1345
Assert.Equal(Color.
FromArgb
(255, 96, 48, 24), d);
1484
pixelColor = Color.
FromArgb
(red.A, pixelColor.R, pixelColor.G, pixelColor.B);
1498
pixelColor = Color.
FromArgb
(red.A, pixelColor.R, pixelColor.G, pixelColor.B);
1517
pixelColor = Color.
FromArgb
(blue.A, pixelColor.R, pixelColor.G, pixelColor.B);
1533
Assert.Equal(red, Color.
FromArgb
(red.A, r, g, b));
System\Drawing\BufferedGraphicsTests.cs (2)
41
Color color = Color.
FromArgb
(255, 0, 0, 0);
84
Color color = Color.
FromArgb
(255, 0, 0, 0);
System\Drawing\ColorTranslatorTests.cs (6)
67
yield return new object[] { unchecked((int)0x8000001F), Color.
FromArgb
(255, 31, 0, 0) };
68
yield return new object[] { unchecked((int)0x80000019), Color.
FromArgb
(255, 25, 0, 0) };
162
yield return new object[] { 498, Color.
FromArgb
(0, 0, 1, 242) };
163
yield return new object[] { "&h1F2", Color.
FromArgb
(0, 0, 1, 242) };
164
yield return new object[] { "&h1F2", Color.
FromArgb
(0, 0, 1, 242) };
170
yield return new object[] { "1, 2, 0x3, &h4", Color.
FromArgb
(1, 2, 3, 4) };
System\Drawing\Drawing2D\HatchBrushTests.cs (1)
24
Assert.Equal(Color.
FromArgb
(255, 0, 0, 0), brush.BackgroundColor);
System\Drawing\Drawing2D\PathGradientBrushTests.cs (19)
160
Color[] expectedColors = [Color.
FromArgb
(255, 0, 0, 255), Color.
FromArgb
(255, 255, 0, 0)];
161
Color[] sameColors = [Color.
FromArgb
(255, 255, 255, 0), Color.
FromArgb
(255, 255, 255, 0)];
162
Color[] expectedSameColors = [Color.
FromArgb
(255, 255, 255, 0)];
174
Color[] colors = [Color.
FromArgb
(255, 0, 0, 255), Color.
FromArgb
(255, 255, 0, 0)];
175
Color[] defaultColors = [Color.
FromArgb
(255, 255, 255, 255)];
180
brush.SurroundColors[0] = Color.
FromArgb
(255, 0, 0, 255);
181
Assert.NotEqual(Color.
FromArgb
(255, 0, 0, 255), brush.SurroundColors[0]);
188
Color[] colors = [Color.
FromArgb
(255, 0, 0, 255), Color.
FromArgb
(255, 255, 0, 0)];
528
Color[] expectedColors = [Color.
FromArgb
(255, 0, 0, 255), Color.
FromArgb
(255, 255, 0, 0)];
530
Color[] sameColors = [Color.
FromArgb
(255, 255, 255, 0), Color.
FromArgb
(255, 255, 255, 0)];
545
Color[] colors = [Color.
FromArgb
(255, 0, 0, 255), Color.
FromArgb
(255, 255, 0, 0)];
947
Assert.Equal(new Color[] { Color.
FromArgb
(255, 255, 255, 255) }, brush.SurroundColors);
System\Drawing\GraphicsTests.cs (20)
300
yield return new object[] { CompositingMode.SourceCopy, Color.
FromArgb
(160, 255, 255, 255) };
301
yield return new object[] { CompositingMode.SourceOver, Color.
FromArgb
(220, 185, 185, 185) };
308
Color transparentBlack = Color.
FromArgb
(160, 0, 0, 0);
309
Color transparentWhite = Color.
FromArgb
(160, 255, 255, 255);
372
Color transparentBlack = Color.
FromArgb
(160, 0, 0, 0);
373
Color transparentWhite = Color.
FromArgb
(160, 255, 255, 255);
377
[transparentBlack, Color.
FromArgb
(220, 185, 185, 185), transparentWhite],
388
[Color.
FromArgb
(159, 0, 0, 0), Color.
FromArgb
(159, 0, 0, 0), Color.
FromArgb
(0, 0, 0, 0)],
389
[Color.
FromArgb
(159, 0, 0, 0), Color.
FromArgb
(219, 222, 222, 222), Color.
FromArgb
(159, 255, 255, 255)],
390
[Color.
FromArgb
(0, 0, 0, 0), Color.
FromArgb
(159, 255, 255, 255), Color.
FromArgb
(159, 255, 255, 255)]
400
Color transparentBlack = Color.
FromArgb
(160, 0, 0, 0);
401
Color transparentWhite = Color.
FromArgb
(160, 255, 255, 255);
818
Color empty = Color.
FromArgb
(255, 0, 0, 0);
1917
yield return new object[] { PixelFormat.Format16bppRgb555, Color.Red, Color.
FromArgb
(255, 248, 0, 0) };
System\Drawing\Imaging\Effects\EffectsTests.cs (1)
19
bitmap.GetPixel(0, 0).Should().Be(Color.
FromArgb
(255, 255, 255, 239));
System\Drawing\Imaging\ImageAttributesTests.cs (116)
33
private readonly Color _actualYellow = Color.
FromArgb
(255, 255, 255, 0);
34
private readonly Color _actualGreen = Color.
FromArgb
(255, 0, 255, 0);
35
private readonly Color _expectedRed = Color.
FromArgb
(255, 255, 0, 0);
36
private readonly Color _expectedBlack = Color.
FromArgb
(255, 0, 0, 0);
57
new() { OldColor = Color.
FromArgb
(255, 255, 255, 0), NewColor = Color.
FromArgb
(255, 255, 0, 0) }
109
yield return new object[] { Color.
FromArgb
(100, 255, 0, 0) };
110
yield return new object[] { Color.
FromArgb
(255, 255, 155, 155) };
138
Assert.Equal(Color.
FromArgb
(255, 255, 155, 155), bitmapBig.GetPixel(50, 50));
139
Assert.Equal(Color.
FromArgb
(255, 255, 205, 205), bitmapBig.GetPixel(150, 50));
145
var grayShade = Color.
FromArgb
(255, 100, 100, 100);
347
bitmap.SetPixel(1, 1, Color.
FromArgb
(255, 100, 100, 100));
350
Assert.Equal(Color.
FromArgb
(255, 100, 0, 100), bitmap.GetPixel(1, 1));
355
yield return new object[] { ColorMatrixFlag.Default, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 100, 0, 100) };
356
yield return new object[] { ColorMatrixFlag.SkipGrays, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 100, 100, 100) };
357
yield return new object[] { ColorMatrixFlag.AltGrays, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 100, 200, 255) };
378
yield return new object[] { ColorMatrixFlag.Default, ColorAdjustType.Default, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 100, 0, 100) };
379
yield return new object[] { ColorMatrixFlag.SkipGrays, ColorAdjustType.Default, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 100, 100, 100) };
380
yield return new object[] { ColorMatrixFlag.AltGrays, ColorAdjustType.Default, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 100, 200, 255) };
381
yield return new object[] { ColorMatrixFlag.Default, ColorAdjustType.Bitmap, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 100, 0, 100) };
382
yield return new object[] { ColorMatrixFlag.SkipGrays, ColorAdjustType.Bitmap, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 100, 100, 100) };
383
yield return new object[] { ColorMatrixFlag.AltGrays, ColorAdjustType.Bitmap, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 100, 200, 255) };
405
yield return new object[] { ColorMatrixFlag.Default, ColorAdjustType.Pen, Color.
FromArgb
(255, 100, 100, 100) };
406
yield return new object[] { ColorMatrixFlag.SkipGrays, ColorAdjustType.Pen, Color.
FromArgb
(255, 100, 100, 100) };
407
yield return new object[] { ColorMatrixFlag.AltGrays, ColorAdjustType.Pen, Color.
FromArgb
(255, 100, 100, 100) };
408
yield return new object[] { ColorMatrixFlag.Default, ColorAdjustType.Brush, Color.
FromArgb
(255, 100, 100, 100) };
409
yield return new object[] { ColorMatrixFlag.SkipGrays, ColorAdjustType.Brush, Color.
FromArgb
(255, 100, 100, 100) };
410
yield return new object[] { ColorMatrixFlag.AltGrays, ColorAdjustType.Brush, Color.
FromArgb
(255, 100, 100, 100) };
411
yield return new object[] { ColorMatrixFlag.Default, ColorAdjustType.Text, Color.
FromArgb
(255, 100, 100, 100) };
412
yield return new object[] { ColorMatrixFlag.SkipGrays, ColorAdjustType.Text, Color.
FromArgb
(255, 100, 100, 100) };
413
yield return new object[] { ColorMatrixFlag.AltGrays, ColorAdjustType.Text, Color.
FromArgb
(255, 100, 100, 100) };
486
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 230, 50, 220));
488
Assert.Equal(Color.
FromArgb
(255, 255, 0, 255), bitmap.GetPixel(0, 0));
499
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 230, 50, 220));
501
Assert.Equal(Color.
FromArgb
(255, 255, 0, 255), bitmap.GetPixel(0, 0));
512
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 230, 50, 220));
514
Assert.Equal(Color.
FromArgb
(255, 230, 50, 220), bitmap.GetPixel(0, 0));
542
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 230, 50, 220));
544
Assert.Equal(Color.
FromArgb
(255, 230, 50, 220), bitmap.GetPixel(0, 0));
556
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 230, 50, 220));
558
Assert.Equal(Color.
FromArgb
(255, 230, 50, 220), bitmap.GetPixel(0, 0));
585
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 255, 0));
587
Assert.Equal(Color.
FromArgb
(255, 33, 255, 0), bitmap.GetPixel(0, 0));
598
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 255, 0));
600
Assert.Equal(Color.
FromArgb
(255, 33, 255, 0), bitmap.GetPixel(0, 0));
611
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 255, 0));
613
Assert.Equal(Color.
FromArgb
(255, 100, 255, 0), bitmap.GetPixel(0, 0));
644
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 255, 0));
646
Assert.Equal(Color.
FromArgb
(255, 100, 255, 0), bitmap.GetPixel(0, 0));
691
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 255, 0));
693
Assert.Equal(Color.
FromArgb
(255, 100, 255, 0), bitmap.GetPixel(0, 0));
742
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 255, 0));
744
Assert.Equal(Color.
FromArgb
(255, 33, 0, 0), bitmap.GetPixel(0, 0));
759
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 255, 0));
761
Assert.Equal(Color.
FromArgb
(255, 100, 255, 0), bitmap.GetPixel(0, 0));
791
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 100, 100));
793
Assert.Equal(Color.
FromArgb
(255, 100, 100, 100), bitmap.GetPixel(0, 0));
806
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 100, 100));
808
Assert.Equal(Color.
FromArgb
(255, 100, 100, 100), bitmap.GetPixel(0, 0));
820
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 100, 100));
822
Assert.Equal(Color.
FromArgb
(255, 100, 100, 100), bitmap.GetPixel(0, 0));
854
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 100, 100));
856
Assert.Equal(Color.
FromArgb
(255, 100, 100, 100), bitmap.GetPixel(0, 0));
869
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 100, 100));
871
Assert.Equal(Color.
FromArgb
(255, 100, 100, 100), bitmap.GetPixel(0, 0));
894
yield return new object[] { ColorChannelFlag.ColorChannelC, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 198, 198, 198) };
895
yield return new object[] { ColorChannelFlag.ColorChannelK, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 108, 108, 108) };
896
yield return new object[] { ColorChannelFlag.ColorChannelM, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 204, 204, 204) };
897
yield return new object[] { ColorChannelFlag.ColorChannelY, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 207, 207, 207) };
916
yield return new object[] { ColorChannelFlag.ColorChannelC, ColorAdjustType.Default, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 198, 198, 198) };
917
yield return new object[] { ColorChannelFlag.ColorChannelK, ColorAdjustType.Default, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 108, 108, 108) };
918
yield return new object[] { ColorChannelFlag.ColorChannelM, ColorAdjustType.Default, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 204, 204, 204) };
919
yield return new object[] { ColorChannelFlag.ColorChannelY, ColorAdjustType.Default, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 207, 207, 207) };
920
yield return new object[] { ColorChannelFlag.ColorChannelC, ColorAdjustType.Bitmap, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 198, 198, 198) };
921
yield return new object[] { ColorChannelFlag.ColorChannelK, ColorAdjustType.Bitmap, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 108, 108, 108) };
922
yield return new object[] { ColorChannelFlag.ColorChannelM, ColorAdjustType.Bitmap, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 204, 204, 204) };
923
yield return new object[] { ColorChannelFlag.ColorChannelY, ColorAdjustType.Bitmap, Color.
FromArgb
(255, 100, 100, 100), Color.
FromArgb
(255, 207, 207, 207) };
942
yield return new object[] { ColorChannelFlag.ColorChannelC, ColorAdjustType.Brush, Color.
FromArgb
(255, 100, 100, 100) };
943
yield return new object[] { ColorChannelFlag.ColorChannelK, ColorAdjustType.Brush, Color.
FromArgb
(255, 100, 100, 100) };
944
yield return new object[] { ColorChannelFlag.ColorChannelM, ColorAdjustType.Brush, Color.
FromArgb
(255, 100, 100, 100) };
945
yield return new object[] { ColorChannelFlag.ColorChannelY, ColorAdjustType.Brush, Color.
FromArgb
(255, 100, 100, 100) };
946
yield return new object[] { ColorChannelFlag.ColorChannelC, ColorAdjustType.Pen, Color.
FromArgb
(255, 100, 100, 100) };
947
yield return new object[] { ColorChannelFlag.ColorChannelK, ColorAdjustType.Pen, Color.
FromArgb
(255, 100, 100, 100) };
948
yield return new object[] { ColorChannelFlag.ColorChannelM, ColorAdjustType.Pen, Color.
FromArgb
(255, 100, 100, 100) };
949
yield return new object[] { ColorChannelFlag.ColorChannelY, ColorAdjustType.Pen, Color.
FromArgb
(255, 100, 100, 100) };
950
yield return new object[] { ColorChannelFlag.ColorChannelC, ColorAdjustType.Text, Color.
FromArgb
(255, 100, 100, 100) };
951
yield return new object[] { ColorChannelFlag.ColorChannelK, ColorAdjustType.Text, Color.
FromArgb
(255, 100, 100, 100) };
952
yield return new object[] { ColorChannelFlag.ColorChannelM, ColorAdjustType.Text, Color.
FromArgb
(255, 100, 100, 100) };
953
yield return new object[] { ColorChannelFlag.ColorChannelY, ColorAdjustType.Text, Color.
FromArgb
(255, 100, 100, 100) };
1061
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 100, 100));
1063
Assert.Equal(Color.
FromArgb
(255, 198, 198, 198), bitmap.GetPixel(0, 0));
1129
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 100, 100));
1131
Assert.Equal(Color.
FromArgb
(255, 100, 100, 100), bitmap.GetPixel(0, 0));
1145
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 100, 100, 100));
1147
Assert.Equal(Color.
FromArgb
(255, 100, 100, 100), bitmap.GetPixel(0, 0));
System\Drawing\TextureBrushTests.cs (1)
729
Color empty = Color.
FromArgb
(0, 0, 0, 0);
System.Drawing.Primitives (2)
src\libraries\Common\src\System\Drawing\ColorConverterCommon.cs (1)
66
4 => PossibleKnownColor(Color.
FromArgb
(IntFromString(textSpan[tokens[0]], culture), IntFromString(textSpan[tokens[1]], culture), IntFromString(textSpan[tokens[2]], culture), IntFromString(textSpan[tokens[3]], culture))),
System\Drawing\Color.cs (1)
470
public static Color FromArgb(int red, int green, int blue) =>
FromArgb
(byte.MaxValue, red, green, blue);
System.Windows.Forms (9)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
26
private protected static Color GetContrastingBorderColor(Color buttonBorderShadowColor) => Color.
FromArgb
(
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
69
=> Color.
FromArgb
(color.A, (byte)~color.R, (byte)~color.G, (byte)~color.B);
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (2)
295
return Color.
FromArgb
(newAlpha, red, green, blue);
299
return g.FindNearestColor(Color.
FromArgb
(newAlpha, red, green, blue));
System\Windows\Forms\DarkProfessionalColors.cs (5)
11
=> Color.
FromArgb
(0xFF, 0x60, 0x60, 0x60);
14
=> Color.
FromArgb
(0xFF, 0x60, 0x60, 0x60);
17
=> Color.
FromArgb
(0xFF, 0x60, 0x60, 0x60);
23
=> Color.
FromArgb
(0xFF, 0x40, 0x40, 0x40);
26
=> Color.
FromArgb
(0xFF, 0x40, 0x40, 0x40);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerUtils.cs (1)
438
Color testColor = Color.
FromArgb
(255, 252, 186, 238);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\SystemDrawingExtensions.cs (1)
87
return Color.
FromArgb
(argb.A, (byte)~argb.R, (byte)~argb.G, (byte)~argb.B);
System.Windows.Forms.Tests (1179)
System\Windows\Forms\ClipboardTests.cs (2)
425
bitmap.SetPixel(1, 2, Color.
FromArgb
(0x01, 0x02, 0x03, 0x04));
429
result.GetPixel(1, 2).Should().Be(Color.
FromArgb
(0xFF, 0xD2, 0xD2, 0xD2));
System\Windows\Forms\ComboBoxTests.cs (4)
1048
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) };
1074
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
System\Windows\Forms\ControlPaintTests.cs (751)
55
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 50, 100, 150));
56
bitmap.SetPixel(1, 0, Color.
FromArgb
(1, 50, 100, 150));
57
bitmap.SetPixel(2, 0, Color.
FromArgb
(0, 50, 100, 150));
69
Assert.Equal(Color.
FromArgb
(255, 49, 99, 148), result.GetPixel(0, 0));
70
Assert.Equal(Color.
FromArgb
(255, 255, 0, 0), result.GetPixel(1, 0));
71
Assert.Equal(Color.
FromArgb
(255, 255, 0, 0), result.GetPixel(2, 0));
126
mask.SetPixel(0, 0, Color.
FromArgb
(255, 255, 0, 0));
127
mask.SetPixel(1, 0, Color.
FromArgb
(255, 0, 255, 0));
128
mask.SetPixel(2, 0, Color.
FromArgb
(0, 0, 0, 255));
133
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 50, 100, 150));
134
bitmap.SetPixel(1, 0, Color.
FromArgb
(1, 50, 100, 150));
135
bitmap.SetPixel(2, 0, Color.
FromArgb
(0, 50, 100, 150));
147
Assert.Equal(Color.
FromArgb
(255, 0, 100, 150), result.GetPixel(0, 0));
148
Assert.Equal(Color.
FromArgb
(255, 210, 0, 211), result.GetPixel(1, 0));
149
Assert.Equal(Color.
FromArgb
(255, 0, 0, 0), result.GetPixel(2, 0));
166
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 50, 100, 150));
167
bitmap.SetPixel(1, 0, Color.
FromArgb
(1, 50, 100, 150));
168
bitmap.SetPixel(2, 0, Color.
FromArgb
(0, 50, 100, 150));
180
Assert.Equal(Color.
FromArgb
(255, 50, 100, 150), result.GetPixel(0, 0));
181
Assert.Equal(Color.
FromArgb
(255, 210, 210, 211), result.GetPixel(1, 0));
182
Assert.Equal(Color.
FromArgb
(255, 211, 211, 211), result.GetPixel(2, 0));
221
Assert.Equal(new Color[] { Color.
FromArgb
(255, 0, 0, 0), Color.
FromArgb
(255, 255, 255, 255) }, result.Palette.Entries);
234
bitmap.SetPixel(0, 0, Color.
FromArgb
(255, 50, 100, 150));
235
bitmap.SetPixel(1, 0, Color.
FromArgb
(1, 50, 100, 150));
236
bitmap.SetPixel(2, 0, Color.
FromArgb
(0, 50, 100, 150));
246
Assert.Equal(new Color[] { Color.
FromArgb
(255, 0, 0, 0), Color.
FromArgb
(255, 255, 255, 255) }, result.Palette.Entries);
248
Assert.Equal(Color.
FromArgb
(255, 0, 0, 0), result.GetPixel(0, 0));
249
Assert.Equal(Color.
FromArgb
(255, 0, 0, 0), result.GetPixel(1, 0));
250
Assert.Equal(Color.
FromArgb
(255, 255, 255, 255), result.GetPixel(2, 0));
266
yield return new object[] { Color.White, Color.
FromArgb
(255, 0, 0, 0) };
267
yield return new object[] { Color.Black, Color.
FromArgb
(255, 255, 255, 255) };
285
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), Color.
FromArgb
(255, 85, 0, 0) };
286
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), Color.
FromArgb
(255, 0, 85, 0) };
287
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), Color.
FromArgb
(255, 0, 0, 85) };
288
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), Color.
FromArgb
(255, 85, 85, 0) };
289
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), Color.
FromArgb
(255, 85, 0, 85) };
290
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), Color.
FromArgb
(255, 0, 85, 85) };
291
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), Color.
FromArgb
(255, 85, 85, 85) };
292
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), Color.
FromArgb
(255, 0, 28, 0) };
293
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), Color.
FromArgb
(255, 0, 9, 0) };
294
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), Color.
FromArgb
(255, 0, 2, 0) };
295
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), Color.
FromArgb
(255, 0, 0, 0) };
296
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), Color.
FromArgb
(255, 0, 0, 0) };
297
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), Color.
FromArgb
(255, 41, 14, 67) };
298
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), Color.
FromArgb
(255, 151, 0, 151) };
299
yield return new object[] { SystemColors.ControlDarkDark, Color.
FromArgb
(255, 35, 35, 35) };
300
yield return new object[] { SystemColors.ControlDark, Color.
FromArgb
(255, 53, 53, 53) };
301
yield return new object[] { SystemColors.Control, Color.
FromArgb
(255, 133, 133, 133) };
302
yield return new object[] { SystemColors.ControlLight, Color.
FromArgb
(255, 75, 75, 75) };
303
yield return new object[] { SystemColors.ControlLightLight, Color.
FromArgb
(255, 85, 85, 85) };
318
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), -1.5f, Color.
FromArgb
(255, 255, 170, 170) };
319
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), -1.5f, Color.
FromArgb
(255, 170, 255, 170) };
320
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), -1.5f, Color.
FromArgb
(255, 170, 170, 255) };
321
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), -1.5f, Color.
FromArgb
(255, 255, 255, 170) };
322
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), -1.5f, Color.
FromArgb
(255, 255, 170, 255) };
323
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), -1.5f, Color.
FromArgb
(255, 170, 255, 255) };
324
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), -1.5f, Color.
FromArgb
(255, 169, 169, 169) };
325
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), -1.5f, Color.
FromArgb
(255, 0, 138, 0) };
326
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), -1.5f, Color.
FromArgb
(255, 0, 43, 0) };
327
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), -1.5f, Color.
FromArgb
(255, 0, 11, 0) };
328
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), -1.5f, Color.
FromArgb
(255, 0, 0, 0) };
329
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), -1.5f, Color.
FromArgb
(255, 0, 0, 0) };
330
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), -1.5f, Color.
FromArgb
(255, 201, 162, 236) };
331
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), -1.5f, Color.
FromArgb
(255, 255, 243, 0) };
332
yield return new object[] { SystemColors.ControlDarkDark, -1.5f, Color.
FromArgb
(255, 175, 175, 175) };
333
yield return new object[] { SystemColors.ControlDark, -1.5f, Color.
FromArgb
(255, 9, 9, 9) };
334
yield return new object[] { SystemColors.Control, -1.5f, Color.
FromArgb
(255, 242, 242, 242) };
335
yield return new object[] { SystemColors.ControlLight, -1.5f, Color.
FromArgb
(255, 121, 121, 121) };
336
yield return new object[] { SystemColors.ControlLightLight, -1.5f, Color.
FromArgb
(255, 169, 169, 169) };
338
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), -1f, Color.
FromArgb
(255, 255, 85, 85) };
339
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), -1f, Color.
FromArgb
(255, 85, 255, 85) };
340
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), -1f, Color.
FromArgb
(255, 85, 85, 255) };
341
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), -1f, Color.
FromArgb
(255, 255, 255, 85) };
342
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), -1f, Color.
FromArgb
(255, 255, 85, 255) };
343
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), -1f, Color.
FromArgb
(255, 85, 255, 255) };
344
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), -1f, Color.
FromArgb
(255, 84, 84, 84) };
345
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), -1f, Color.
FromArgb
(255, 0, 111, 0) };
346
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), -1f, Color.
FromArgb
(255, 0, 34, 0) };
347
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), -1f, Color.
FromArgb
(255, 0, 9, 0) };
348
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), -1f, Color.
FromArgb
(255, 0, 0, 0) };
349
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), -1f, Color.
FromArgb
(255, 0, 0, 0) };
350
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), -1f, Color.
FromArgb
(255, 163, 96, 223) };
351
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), -1f, Color.
FromArgb
(255, 255, 93, 0) };
352
yield return new object[] { SystemColors.ControlDarkDark, -1f, Color.
FromArgb
(255, 140, 140, 140) };
353
yield return new object[] { SystemColors.ControlDark, -1f, Color.
FromArgb
(255, 212, 212, 212) };
354
yield return new object[] { SystemColors.Control, -1f, Color.
FromArgb
(255, 215, 215, 215) };
355
yield return new object[] { SystemColors.ControlLight, -1f, Color.
FromArgb
(255, 45, 45, 45) };
356
yield return new object[] { SystemColors.ControlLightLight, -1f, Color.
FromArgb
(255, 84, 84, 84) };
358
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), -0.5f, Color.
FromArgb
(255, 255, 0, 0) };
359
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), -0.5f, Color.
FromArgb
(255, 0, 255, 0) };
360
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), -0.5f, Color.
FromArgb
(255, 0, 0, 255) };
361
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), -0.5f, Color.
FromArgb
(255, 255, 255, 0) };
362
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), -0.5f, Color.
FromArgb
(255, 255, 0, 255) };
363
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), -0.5f, Color.
FromArgb
(255, 0, 255, 255) };
364
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), -0.5f, Color.
FromArgb
(255, 255, 255, 255) };
365
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), -0.5f, Color.
FromArgb
(255, 0, 83, 0) };
366
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), -0.5f, Color.
FromArgb
(255, 0, 26, 0) };
367
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), -0.5f, Color.
FromArgb
(255, 0, 6, 0) };
368
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), -0.5f, Color.
FromArgb
(255, 0, 0, 0) };
369
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), -0.5f, Color.
FromArgb
(255, 0, 0, 0) };
370
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), -0.5f, Color.
FromArgb
(255, 123, 39, 199) };
371
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), -0.5f, Color.
FromArgb
(255, 255, 198, 255) };
372
yield return new object[] { SystemColors.ControlDarkDark, -0.5f, Color.
FromArgb
(255, 105, 105, 105) };
373
yield return new object[] { SystemColors.ControlDark, -0.5f, Color.
FromArgb
(255, 159, 159, 159) };
374
yield return new object[] { SystemColors.Control, -0.5f, Color.
FromArgb
(255, 187, 187, 187) };
375
yield return new object[] { SystemColors.ControlLight, -0.5f, Color.
FromArgb
(255, 226, 226, 226) };
376
yield return new object[] { SystemColors.ControlLightLight, -0.5f, Color.
FromArgb
(255, 255, 255, 255) };
378
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), -0.25f, Color.
FromArgb
(255, 213, 0, 0) };
379
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), -0.25f, Color.
FromArgb
(255, 0, 213, 0) };
380
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), -0.25f, Color.
FromArgb
(255, 0, 0, 213) };
381
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), -0.25f, Color.
FromArgb
(255, 213, 213, 0) };
382
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), -0.25f, Color.
FromArgb
(255, 213, 0, 213) };
383
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), -0.25f, Color.
FromArgb
(255, 0, 213, 213) };
384
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), -0.25f, Color.
FromArgb
(255, 212, 212, 212) };
385
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), -0.25f, Color.
FromArgb
(255, 0, 68, 0) };
386
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), -0.25f, Color.
FromArgb
(255, 0, 21, 0) };
387
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), -0.25f, Color.
FromArgb
(255, 0, 4, 0) };
388
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), -0.25f, Color.
FromArgb
(255, 0, 0, 0) };
389
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), -0.25f, Color.
FromArgb
(255, 0, 0, 0) };
390
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), -0.25f, Color.
FromArgb
(255, 102, 33, 165) };
391
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), -0.25f, Color.
FromArgb
(255, 255, 121, 255) };
392
yield return new object[] { SystemColors.ControlDarkDark, -0.25f, Color.
FromArgb
(255, 87, 87, 87) };
393
yield return new object[] { SystemColors.ControlDark, -0.25f, Color.
FromArgb
(255, 132, 132, 132) };
394
yield return new object[] { SystemColors.Control, -0.25f, Color.
FromArgb
(255, 173, 173, 173) };
395
yield return new object[] { SystemColors.ControlLight, -0.25f, Color.
FromArgb
(255, 188, 188, 188) };
396
yield return new object[] { SystemColors.ControlLightLight, -0.25f, Color.
FromArgb
(255, 212, 212, 212) };
398
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), 0f, Color.
FromArgb
(255, 170, 0, 0) };
399
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), 0f, Color.
FromArgb
(255, 0, 170, 0) };
400
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), 0f, Color.
FromArgb
(255, 0, 0, 170) };
401
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), 0f, Color.
FromArgb
(255, 170, 170, 0) };
402
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), 0f, Color.
FromArgb
(255, 170, 0, 170) };
403
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), 0f, Color.
FromArgb
(255, 0, 170, 170) };
404
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), 0f, Color.
FromArgb
(255, 170, 170, 170) };
405
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), 0f, Color.
FromArgb
(255, 0, 55, 0) };
406
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), 0f, Color.
FromArgb
(255, 0, 17, 0) };
407
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), 0f, Color.
FromArgb
(255, 0, 4, 0) };
408
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), 0f, Color.
FromArgb
(255, 0, 0, 0) };
409
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), 0f, Color.
FromArgb
(255, 0, 0, 0) };
410
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), 0f, Color.
FromArgb
(255, 83, 27, 133) };
411
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), 0f, Color.
FromArgb
(255, 255, 47, 255) };
412
yield return new object[] { SystemColors.ControlDarkDark, 0f, Color.
FromArgb
(255, 70, 70, 70) };
413
yield return new object[] { SystemColors.ControlDark, 0f, Color.
FromArgb
(255, 106, 106, 106) };
415
yield return new object[] { SystemColors.ControlLight, 0f, Color.
FromArgb
(255, 150, 150, 150) };
416
yield return new object[] { SystemColors.ControlLightLight, 0f, Color.
FromArgb
(255, 170, 170, 170) };
418
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), 0.25f, Color.
FromArgb
(255, 128, 0, 0) };
419
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), 0.25f, Color.
FromArgb
(255, 0, 128, 0) };
420
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), 0.25f, Color.
FromArgb
(255, 0, 0, 128) };
421
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), 0.25f, Color.
FromArgb
(255, 128, 128, 0) };
422
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), 0.25f, Color.
FromArgb
(255, 128, 0, 128) };
423
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), 0.25f, Color.
FromArgb
(255, 0, 128, 128) };
424
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), 0.25f, Color.
FromArgb
(255, 127, 127, 127) };
425
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), 0.25f, Color.
FromArgb
(255, 0, 43, 0) };
426
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), 0.25f, Color.
FromArgb
(255, 0, 13, 0) };
427
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), 0.25f, Color.
FromArgb
(255, 0, 4, 0) };
428
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), 0.25f, Color.
FromArgb
(255, 0, 0, 0) };
429
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), 0.25f, Color.
FromArgb
(255, 0, 0, 0) };
430
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), 0.25f, Color.
FromArgb
(255, 63, 20, 101) };
431
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), 0.25f, Color.
FromArgb
(255, 227, 0, 227) };
432
yield return new object[] { SystemColors.ControlDarkDark, 0.25f, Color.
FromArgb
(255, 53, 53, 53) };
433
yield return new object[] { SystemColors.ControlDark, 0.25f, Color.
FromArgb
(255, 79, 79, 79) };
434
yield return new object[] { SystemColors.Control, 0.25f, Color.
FromArgb
(255, 147, 147, 147) };
435
yield return new object[] { SystemColors.ControlLight, 0.25f, Color.
FromArgb
(255, 113, 113, 113) };
436
yield return new object[] { SystemColors.ControlLightLight, 0.25f, Color.
FromArgb
(255, 127, 127, 127) };
438
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), 0.5f, Color.
FromArgb
(255, 85, 0, 0) };
439
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), 0.5f, Color.
FromArgb
(255, 0, 85, 0) };
440
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), 0.5f, Color.
FromArgb
(255, 0, 0, 85) };
441
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), 0.5f, Color.
FromArgb
(255, 85, 85, 0) };
442
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), 0.5f, Color.
FromArgb
(255, 85, 0, 85) };
443
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), 0.5f, Color.
FromArgb
(255, 0, 85, 85) };
444
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), 0.5f, Color.
FromArgb
(255, 85, 85, 85) };
445
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), 0.5f, Color.
FromArgb
(255, 0, 28, 0) };
446
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), 0.5f, Color.
FromArgb
(255, 0, 9, 0) };
447
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), 0.5f, Color.
FromArgb
(255, 0, 2, 0) };
448
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), 0.5f, Color.
FromArgb
(255, 0, 0, 0) };
449
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), 0.5f, Color.
FromArgb
(255, 0, 0, 0) };
450
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), 0.5f, Color.
FromArgb
(255, 41, 14, 67) };
451
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), 0.5f, Color.
FromArgb
(255, 151, 0, 151) };
452
yield return new object[] { SystemColors.ControlDarkDark, 0.5f, Color.
FromArgb
(255, 35, 35, 35) };
453
yield return new object[] { SystemColors.ControlDark, 0.5f, Color.
FromArgb
(255, 53, 53, 53) };
454
yield return new object[] { SystemColors.Control, 0.5f, Color.
FromArgb
(255, 133, 133, 133) };
455
yield return new object[] { SystemColors.ControlLight, 0.5f, Color.
FromArgb
(255, 75, 75, 75) };
456
yield return new object[] { SystemColors.ControlLightLight, 0.5f, Color.
FromArgb
(255, 85, 85, 85) };
458
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), 1f, Color.
FromArgb
(255, 0, 0, 0) };
459
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), 1f, Color.
FromArgb
(255, 0, 0, 0) };
460
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), 1f, Color.
FromArgb
(255, 0, 0, 0) };
461
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), 1f, Color.
FromArgb
(255, 0, 0, 0) };
462
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), 1f, Color.
FromArgb
(255, 0, 0, 0) };
463
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), 1f, Color.
FromArgb
(255, 0, 0, 0) };
464
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), 1f, Color.
FromArgb
(255, 0, 0, 0) };
465
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), 1f, Color.
FromArgb
(255, 0, 0, 0) };
466
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), 1f, Color.
FromArgb
(255, 0, 0, 0) };
467
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), 1f, Color.
FromArgb
(255, 0, 0, 0) };
468
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), 1f, Color.
FromArgb
(255, 0, 0, 0) };
469
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), 1f, Color.
FromArgb
(255, 0, 0, 0) };
470
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), 1f, Color.
FromArgb
(255, 0, 0, 0) };
471
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), 1f, Color.
FromArgb
(255, 0, 0, 0) };
472
yield return new object[] { SystemColors.ControlDarkDark, 1f, Color.
FromArgb
(255, 0, 0, 0) };
473
yield return new object[] { SystemColors.ControlDark, 1f, Color.
FromArgb
(255, 0, 0, 0) };
475
yield return new object[] { SystemColors.ControlLight, 1f, Color.
FromArgb
(255, 0, 0, 0) };
476
yield return new object[] { SystemColors.ControlLightLight, 1f, Color.
FromArgb
(255, 0, 0, 0) };
478
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), 1.5f, Color.
FromArgb
(255, 173, 0, 0) };
479
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), 1.5f, Color.
FromArgb
(255, 0, 173, 0) };
480
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), 1.5f, Color.
FromArgb
(255, 0, 0, 173) };
481
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), 1.5f, Color.
FromArgb
(255, 174, 173, 0) };
482
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), 1.5f, Color.
FromArgb
(255, 173, 0, 174) };
483
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), 1.5f, Color.
FromArgb
(255, 0, 174, 173) };
484
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), 1.5f, Color.
FromArgb
(255, 171, 171, 171) };
485
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), 1.5f, Color.
FromArgb
(255, 0, 230, 0) };
486
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), 1.5f, Color.
FromArgb
(255, 0, 250, 0) };
487
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), 1.5f, Color.
FromArgb
(255, 0, 0, 0) };
488
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), 1.5f, Color.
FromArgb
(255, 0, 0, 0) };
489
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), 1.5f, Color.
FromArgb
(255, 0, 0, 0) };
490
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), 1.5f, Color.
FromArgb
(255, 218, 243, 192) };
491
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), 1.5f, Color.
FromArgb
(255, 107, 0, 108) };
492
yield return new object[] { SystemColors.ControlDarkDark, 1.5f, Color.
FromArgb
(255, 221, 221, 221) };
493
yield return new object[] { SystemColors.ControlDark, 1.5f, Color.
FromArgb
(255, 203, 203, 203) };
494
yield return new object[] { SystemColors.Control, 1.5f, Color.
FromArgb
(255, 78, 78, 78) };
495
yield return new object[] { SystemColors.ControlLight, 1.5f, Color.
FromArgb
(255, 181, 181, 181) };
510
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), Color.
FromArgb
(255, 0, 0, 0) };
511
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), Color.
FromArgb
(255, 0, 0, 0) };
512
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), Color.
FromArgb
(255, 0, 0, 0) };
513
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), Color.
FromArgb
(255, 0, 0, 0) };
514
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), Color.
FromArgb
(255, 0, 0, 0) };
515
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), Color.
FromArgb
(255, 0, 0, 0) };
516
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), Color.
FromArgb
(255, 0, 0, 0) };
517
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), Color.
FromArgb
(255, 0, 0, 0) };
518
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), Color.
FromArgb
(255, 0, 0, 0) };
519
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), Color.
FromArgb
(255, 0, 0, 0) };
520
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), Color.
FromArgb
(255, 0, 0, 0) };
521
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), Color.
FromArgb
(255, 0, 0, 0) };
522
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), Color.
FromArgb
(255, 0, 0, 0) };
523
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), Color.
FromArgb
(255, 0, 0, 0) };
524
yield return new object[] { SystemColors.ControlDarkDark, Color.
FromArgb
(255, 0, 0, 0) };
525
yield return new object[] { SystemColors.ControlDark, Color.
FromArgb
(255, 0, 0, 0) };
527
yield return new object[] { SystemColors.ControlLight, Color.
FromArgb
(255, 0, 0, 0) };
528
yield return new object[] { SystemColors.ControlLightLight, Color.
FromArgb
(255, 0, 0, 0) };
2049
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), Color.
FromArgb
(255, 255, 64, 64) };
2050
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), Color.
FromArgb
(255, 64, 255, 64) };
2051
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), Color.
FromArgb
(255, 64, 64, 255) };
2052
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), Color.
FromArgb
(255, 255, 255, 64) };
2053
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), Color.
FromArgb
(255, 255, 64, 255) };
2054
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), Color.
FromArgb
(255, 64, 255, 255) };
2055
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), Color.
FromArgb
(255, 255, 255, 255) };
2056
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), Color.
FromArgb
(255, 0, 191, 0) };
2057
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), Color.
FromArgb
(255, 0, 149, 0) };
2058
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), Color.
FromArgb
(255, 0, 134, 0) };
2059
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), Color.
FromArgb
(255, 0, 130, 0) };
2060
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), Color.
FromArgb
(255, 63, 63, 63) };
2061
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), Color.
FromArgb
(255, 157, 87, 221) };
2062
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), Color.
FromArgb
(255, 255, 213, 255) };
2063
yield return new object[] { SystemColors.ControlDarkDark, Color.
FromArgb
(255, 142, 142, 142) };
2064
yield return new object[] { SystemColors.ControlDark, Color.
FromArgb
(255, 183, 183, 183) };
2065
yield return new object[] { SystemColors.Control, Color.
FromArgb
(255, 241, 241, 241) };
2066
yield return new object[] { SystemColors.ControlLight, Color.
FromArgb
(255, 233, 233, 233) };
2067
yield return new object[] { SystemColors.ControlLightLight, Color.
FromArgb
(255, 255, 255, 255) };
2082
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), -1.5f, Color.
FromArgb
(255, 64, 0, 0) };
2083
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), -1.5f, Color.
FromArgb
(255, 0, 64, 0) };
2084
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), -1.5f, Color.
FromArgb
(255, 0, 0, 64) };
2085
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), -1.5f, Color.
FromArgb
(255, 64, 64, 0) };
2086
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), -1.5f, Color.
FromArgb
(255, 64, 0, 64) };
2087
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), -1.5f, Color.
FromArgb
(255, 0, 64, 64) };
2088
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), -1.5f, Color.
FromArgb
(255, 255, 255, 255) };
2089
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), -1.5f, Color.
FromArgb
(255, 0, 24, 0) };
2090
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), -1.5f, Color.
FromArgb
(255, 0, 178, 0) };
2091
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), -1.5f, Color.
FromArgb
(255, 0, 146, 0) };
2092
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), -1.5f, Color.
FromArgb
(255, 0, 134, 0) };
2093
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), -1.5f, Color.
FromArgb
(255, 65, 65, 65) };
2094
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), -1.5f, Color.
FromArgb
(255, 19, 6, 30) };
2095
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), -1.5f, Color.
FromArgb
(255, 255, 159, 255) };
2096
yield return new object[] { SystemColors.ControlDarkDark, -1.5f, Color.
FromArgb
(255, 249, 249, 249) };
2097
yield return new object[] { SystemColors.ControlDark, -1.5f, Color.
FromArgb
(255, 89, 89, 89) };
2098
yield return new object[] { SystemColors.Control, -1.5f, Color.
FromArgb
(255, 185, 185, 185) };
2099
yield return new object[] { SystemColors.ControlLight, -1.5f, Color.
FromArgb
(255, 207, 207, 207) };
2100
yield return new object[] { SystemColors.ControlLightLight, -1.5f, Color.
FromArgb
(255, 255, 255, 255) };
2102
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), -1f, Color.
FromArgb
(255, 128, 0, 0) };
2103
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), -1f, Color.
FromArgb
(255, 0, 128, 0) };
2104
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), -1f, Color.
FromArgb
(255, 0, 0, 128) };
2105
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), -1f, Color.
FromArgb
(255, 128, 128, 0) };
2106
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), -1f, Color.
FromArgb
(255, 128, 0, 128) };
2107
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), -1f, Color.
FromArgb
(255, 0, 128, 128) };
2108
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), -1f, Color.
FromArgb
(255, 255, 255, 255) };
2109
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), -1f, Color.
FromArgb
(255, 0, 131, 0) };
2110
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), -1f, Color.
FromArgb
(255, 0, 43, 0) };
2111
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), -1f, Color.
FromArgb
(255, 0, 16, 0) };
2112
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), -1f, Color.
FromArgb
(255, 0, 5, 0) };
2113
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), -1f, Color.
FromArgb
(255, 129, 129, 129) };
2114
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), -1f, Color.
FromArgb
(255, 54, 17, 87) };
2115
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), -1f, Color.
FromArgb
(255, 255, 172, 255) };
2116
yield return new object[] { SystemColors.ControlDarkDark, -1f, Color.
FromArgb
(255, 29, 29, 29) };
2117
yield return new object[] { SystemColors.ControlDark, -1f, Color.
FromArgb
(255, 112, 112, 112) };
2118
yield return new object[] { SystemColors.Control, -1f, Color.
FromArgb
(255, 199, 199, 199) };
2119
yield return new object[] { SystemColors.ControlLight, -1f, Color.
FromArgb
(255, 213, 213, 213) };
2120
yield return new object[] { SystemColors.ControlLightLight, -1f, Color.
FromArgb
(255, 255, 255, 255) };
2122
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), -0.5f, Color.
FromArgb
(255, 191, 0, 0) };
2123
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), -0.5f, Color.
FromArgb
(255, 0, 191, 0) };
2124
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), -0.5f, Color.
FromArgb
(255, 0, 0, 191) };
2125
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), -0.5f, Color.
FromArgb
(255, 191, 191, 0) };
2126
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), -0.5f, Color.
FromArgb
(255, 191, 0, 191) };
2127
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), -0.5f, Color.
FromArgb
(255, 0, 191, 191) };
2128
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), -0.5f, Color.
FromArgb
(255, 255, 255, 255) };
2129
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), -0.5f, Color.
FromArgb
(255, 0, 237, 0) };
2130
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), -0.5f, Color.
FromArgb
(255, 0, 165, 0) };
2131
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), -0.5f, Color.
FromArgb
(255, 0, 141, 0) };
2132
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), -0.5f, Color.
FromArgb
(255, 0, 133, 0) };
2133
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), -0.5f, Color.
FromArgb
(255, 193, 193, 193) };
2134
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), -0.5f, Color.
FromArgb
(255, 89, 29, 143) };
2135
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), -0.5f, Color.
FromArgb
(255, 255, 187, 255) };
2136
yield return new object[] { SystemColors.ControlDarkDark, -0.5f, Color.
FromArgb
(255, 68, 68, 68) };
2137
yield return new object[] { SystemColors.ControlDark, -0.5f, Color.
FromArgb
(255, 137, 137, 137) };
2138
yield return new object[] { SystemColors.Control, -0.5f, Color.
FromArgb
(255, 213, 213, 213) };
2139
yield return new object[] { SystemColors.ControlLight, -0.5f, Color.
FromArgb
(255, 221, 221, 221) };
2140
yield return new object[] { SystemColors.ControlLightLight, -0.5f, Color.
FromArgb
(255, 255, 255, 255) };
2142
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), -0.25f, Color.
FromArgb
(255, 223, 0, 0) };
2143
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), -0.25f, Color.
FromArgb
(255, 0, 223, 0) };
2144
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), -0.25f, Color.
FromArgb
(255, 0, 0, 223) };
2145
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), -0.25f, Color.
FromArgb
(255, 223, 223, 0) };
2146
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), -0.25f, Color.
FromArgb
(255, 223, 0, 223) };
2147
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), -0.25f, Color.
FromArgb
(255, 0, 223, 223) };
2148
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), -0.25f, Color.
FromArgb
(255, 255, 255, 255) };
2149
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), -0.25f, Color.
FromArgb
(255, 0, 32, 0) };
2150
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), -0.25f, Color.
FromArgb
(255, 0, 226, 0) };
2151
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), -0.25f, Color.
FromArgb
(255, 0, 205, 0) };
2152
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), -0.25f, Color.
FromArgb
(255, 0, 196, 0) };
2153
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), -0.25f, Color.
FromArgb
(255, 225, 225, 225) };
2154
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), -0.25f, Color.
FromArgb
(255, 106, 34, 172) };
2155
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), -0.25f, Color.
FromArgb
(255, 255, 193, 255) };
2156
yield return new object[] { SystemColors.ControlDarkDark, -0.25f, Color.
FromArgb
(255, 87, 87, 87) };
2157
yield return new object[] { SystemColors.ControlDark, -0.25f, Color.
FromArgb
(255, 148, 148, 148) };
2158
yield return new object[] { SystemColors.Control, -0.25f, Color.
FromArgb
(255, 220, 220, 220) };
2159
yield return new object[] { SystemColors.ControlLight, -0.25f, Color.
FromArgb
(255, 224, 224, 224) };
2160
yield return new object[] { SystemColors.ControlLightLight, -0.25f, Color.
FromArgb
(255, 255, 255, 255) };
2162
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), 0f, Color.
FromArgb
(255, 255, 0, 0) };
2163
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), 0f, Color.
FromArgb
(255, 0, 255, 0) };
2164
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), 0f, Color.
FromArgb
(255, 0, 0, 255) };
2165
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), 0f, Color.
FromArgb
(255, 255, 255, 0) };
2166
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), 0f, Color.
FromArgb
(255, 255, 0, 255) };
2167
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), 0f, Color.
FromArgb
(255, 0, 255, 255) };
2168
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), 0f, Color.
FromArgb
(255, 255, 255, 255) };
2169
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), 0f, Color.
FromArgb
(255, 0, 85, 0) };
2170
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), 0f, Color.
FromArgb
(255, 0, 28, 0) };
2171
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), 0f, Color.
FromArgb
(255, 0, 9, 0) };
2172
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), 0f, Color.
FromArgb
(255, 0, 2, 0) };
2173
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), 0f, Color.
FromArgb
(255, 0, 0, 0) };
2174
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), 0f, Color.
FromArgb
(255, 124, 40, 200) };
2175
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), 0f, Color.
FromArgb
(255, 255, 200, 255) };
2176
yield return new object[] { SystemColors.ControlDarkDark, 0f, Color.
FromArgb
(255, 105, 105, 105) };
2177
yield return new object[] { SystemColors.ControlDark, 0f, Color.
FromArgb
(255, 160, 160, 160) };
2179
yield return new object[] { SystemColors.ControlLight, 0f, Color.
FromArgb
(255, 227, 227, 227) };
2180
yield return new object[] { SystemColors.ControlLightLight, 0f, Color.
FromArgb
(255, 255, 255, 255) };
2182
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), 0.25f, Color.
FromArgb
(255, 255, 32, 32) };
2183
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), 0.25f, Color.
FromArgb
(255, 32, 255, 32) };
2184
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), 0.25f, Color.
FromArgb
(255, 32, 32, 255) };
2185
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), 0.25f, Color.
FromArgb
(255, 255, 255, 32) };
2186
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), 0.25f, Color.
FromArgb
(255, 255, 32, 255) };
2187
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), 0.25f, Color.
FromArgb
(255, 32, 255, 255) };
2188
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), 0.25f, Color.
FromArgb
(255, 255, 255, 255) };
2189
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), 0.25f, Color.
FromArgb
(255, 0, 138, 0) };
2190
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), 0.25f, Color.
FromArgb
(255, 0, 87, 0) };
2191
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), 0.25f, Color.
FromArgb
(255, 0, 70, 0) };
2192
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), 0.25f, Color.
FromArgb
(255, 0, 66, 0) };
2193
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), 0.25f, Color.
FromArgb
(255, 31, 31, 31) };
2194
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), 0.25f, Color.
FromArgb
(255, 141, 58, 216) };
2195
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), 0.25f, Color.
FromArgb
(255, 255, 206, 255) };
2196
yield return new object[] { SystemColors.ControlDarkDark, 0.25f, Color.
FromArgb
(255, 123, 123, 123) };
2197
yield return new object[] { SystemColors.ControlDark, 0.25f, Color.
FromArgb
(255, 172, 172, 172) };
2198
yield return new object[] { SystemColors.Control, 0.25f, Color.
FromArgb
(255, 234, 234, 234) };
2199
yield return new object[] { SystemColors.ControlLight, 0.25f, Color.
FromArgb
(255, 230, 230, 230) };
2200
yield return new object[] { SystemColors.ControlLightLight, 0.25f, Color.
FromArgb
(255, 255, 255, 255) };
2202
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), 0.5f, Color.
FromArgb
(255, 255, 64, 64) };
2203
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), 0.5f, Color.
FromArgb
(255, 64, 255, 64) };
2204
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), 0.5f, Color.
FromArgb
(255, 64, 64, 255) };
2205
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), 0.5f, Color.
FromArgb
(255, 255, 255, 64) };
2206
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), 0.5f, Color.
FromArgb
(255, 255, 64, 255) };
2207
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), 0.5f, Color.
FromArgb
(255, 64, 255, 255) };
2208
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), 0.5f, Color.
FromArgb
(255, 255, 255, 255) };
2209
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), 0.5f, Color.
FromArgb
(255, 0, 191, 0) };
2210
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), 0.5f, Color.
FromArgb
(255, 0, 149, 0) };
2211
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), 0.5f, Color.
FromArgb
(255, 0, 134, 0) };
2212
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), 0.5f, Color.
FromArgb
(255, 0, 130, 0) };
2213
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), 0.5f, Color.
FromArgb
(255, 63, 63, 63) };
2214
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), 0.5f, Color.
FromArgb
(255, 157, 87, 221) };
2215
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), 0.5f, Color.
FromArgb
(255, 255, 213, 255) };
2216
yield return new object[] { SystemColors.ControlDarkDark, 0.5f, Color.
FromArgb
(255, 142, 142, 142) };
2217
yield return new object[] { SystemColors.ControlDark, 0.5f, Color.
FromArgb
(255, 183, 183, 183) };
2218
yield return new object[] { SystemColors.Control, 0.5f, Color.
FromArgb
(255, 241, 241, 241) };
2219
yield return new object[] { SystemColors.ControlLight, 0.5f, Color.
FromArgb
(255, 233, 233, 233) };
2220
yield return new object[] { SystemColors.ControlLightLight, 0.5f, Color.
FromArgb
(255, 255, 255, 255) };
2222
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), 1f, Color.
FromArgb
(255, 255, 128, 128) };
2223
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), 1f, Color.
FromArgb
(255, 128, 255, 128) };
2224
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), 1f, Color.
FromArgb
(255, 128, 128, 255) };
2225
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), 1f, Color.
FromArgb
(255, 255, 255, 128) };
2226
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), 1f, Color.
FromArgb
(255, 255, 128, 255) };
2227
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), 1f, Color.
FromArgb
(255, 128, 255, 255) };
2228
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), 1f, Color.
FromArgb
(255, 255, 255, 255) };
2229
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), 1f, Color.
FromArgb
(255, 43, 255, 43) };
2230
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), 1f, Color.
FromArgb
(255, 15, 255, 15) };
2231
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), 1f, Color.
FromArgb
(255, 4, 255, 4) };
2232
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), 1f, Color.
FromArgb
(255, 2, 255, 2) };
2233
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), 1f, Color.
FromArgb
(255, 127, 127, 127) };
2234
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), 1f, Color.
FromArgb
(255, 190, 143, 233) };
2235
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), 1f, Color.
FromArgb
(255, 255, 227, 255) };
2236
yield return new object[] { SystemColors.ControlDarkDark, 1f, Color.
FromArgb
(255, 180, 180, 180) };
2237
yield return new object[] { SystemColors.ControlDark, 1f, Color.
FromArgb
(255, 208, 208, 208) };
2239
yield return new object[] { SystemColors.ControlLight, 1f, Color.
FromArgb
(255, 241, 241, 241) };
2240
yield return new object[] { SystemColors.ControlLightLight, 1f, Color.
FromArgb
(255, 255, 255, 255) };
2242
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), 1.5f, Color.
FromArgb
(255, 255, 191, 191) };
2243
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), 1.5f, Color.
FromArgb
(255, 191, 255, 191) };
2244
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), 1.5f, Color.
FromArgb
(255, 191, 191, 255) };
2245
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), 1.5f, Color.
FromArgb
(255, 255, 255, 191) };
2246
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), 1.5f, Color.
FromArgb
(255, 255, 191, 255) };
2247
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), 1.5f, Color.
FromArgb
(255, 191, 255, 255) };
2248
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), 1.5f, Color.
FromArgb
(255, 255, 255, 255) };
2249
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), 1.5f, Color.
FromArgb
(255, 149, 255, 149) };
2250
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), 1.5f, Color.
FromArgb
(255, 136, 255, 136) };
2251
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), 1.5f, Color.
FromArgb
(255, 130, 255, 130) };
2252
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), 1.5f, Color.
FromArgb
(255, 130, 255, 130) };
2253
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), 1.5f, Color.
FromArgb
(255, 191, 191, 191) };
2254
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), 1.5f, Color.
FromArgb
(255, 223, 200, 244) };
2255
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), 1.5f, Color.
FromArgb
(255, 255, 240, 255) };
2256
yield return new object[] { SystemColors.ControlDarkDark, 1.5f, Color.
FromArgb
(255, 217, 217, 217) };
2257
yield return new object[] { SystemColors.ControlDark, 1.5f, Color.
FromArgb
(255, 231, 231, 231) };
2258
yield return new object[] { SystemColors.Control, 1.5f, Color.
FromArgb
(255, 13, 13, 13) };
2259
yield return new object[] { SystemColors.ControlLight, 1.5f, Color.
FromArgb
(255, 247, 247, 247) };
2274
yield return new object[] { Color.
FromArgb
(255, 255, 0, 0), Color.
FromArgb
(255, 255, 128, 128) };
2275
yield return new object[] { Color.
FromArgb
(255, 0, 255, 0), Color.
FromArgb
(255, 128, 255, 128) };
2276
yield return new object[] { Color.
FromArgb
(255, 0, 0, 255), Color.
FromArgb
(255, 128, 128, 255) };
2277
yield return new object[] { Color.
FromArgb
(255, 255, 255, 0), Color.
FromArgb
(255, 255, 255, 128) };
2278
yield return new object[] { Color.
FromArgb
(255, 255, 0, 255), Color.
FromArgb
(255, 255, 128, 255) };
2279
yield return new object[] { Color.
FromArgb
(255, 0, 255, 255), Color.
FromArgb
(255, 128, 255, 255) };
2280
yield return new object[] { Color.
FromArgb
(255, 255, 255, 255), Color.
FromArgb
(255, 255, 255, 255) };
2281
yield return new object[] { Color.
FromArgb
(255, 0, 85, 0), Color.
FromArgb
(255, 43, 255, 43) };
2282
yield return new object[] { Color.
FromArgb
(255, 0, 28, 0), Color.
FromArgb
(255, 15, 255, 15) };
2283
yield return new object[] { Color.
FromArgb
(255, 0, 9, 0), Color.
FromArgb
(255, 4, 255, 4) };
2284
yield return new object[] { Color.
FromArgb
(255, 0, 2, 0), Color.
FromArgb
(255, 2, 255, 2) };
2285
yield return new object[] { Color.
FromArgb
(255, 0, 0, 0), Color.
FromArgb
(255, 127, 127, 127) };
2286
yield return new object[] { Color.
FromArgb
(255, 125, 40, 200), Color.
FromArgb
(255, 190, 143, 233) };
2287
yield return new object[] { Color.
FromArgb
(0, 255, 200, 255), Color.
FromArgb
(255, 255, 227, 255) };
2288
yield return new object[] { SystemColors.ControlDarkDark, Color.
FromArgb
(255, 180, 180, 180) };
2289
yield return new object[] { SystemColors.ControlDark, Color.
FromArgb
(255, 208, 208, 208) };
2291
yield return new object[] { SystemColors.ControlLight, Color.
FromArgb
(255, 241, 241, 241) };
2292
yield return new object[] { SystemColors.ControlLightLight, Color.
FromArgb
(255, 255, 255, 255) };
System\Windows\Forms\ControlTests.Handlers.cs (30)
2776
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), null };
2777
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), new InvalidateEventArgs(Rectangle.Empty) };
2778
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), new InvalidateEventArgs(new Rectangle(100, 200, 300, 400)) };
2779
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), new InvalidateEventArgs(new Rectangle(1, 2, 300, 400)) };
2879
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), new InvalidateEventArgs(Rectangle.Empty), 0 };
2880
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), new InvalidateEventArgs(new Rectangle(100, 200, 300, 400)), 0 };
2881
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), new InvalidateEventArgs(new Rectangle(1, 2, 300, 400)), 1 };
2984
child1.BackColor = Color.
FromArgb
(200, 50, 100, 150);
3276
control.BackColor = Color.
FromArgb
(254, 255, 255, 255);
3707
control.BackColor = Color.
FromArgb
(254, 255, 255, 255);
3842
yield return new object[] { true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout };
3843
yield return new object[] { true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout };
3905
yield return new object[] { parent, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, 1 };
3906
yield return new object[] { parent, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, 1 };
3914
yield return new object[] { parent, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
3915
yield return new object[] { parent, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
3921
yield return new object[] { parent, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 2 };
3922
yield return new object[] { parent, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 2 };
3951
yield return new object[] { parent, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, expected1 };
3952
yield return new object[] { parent, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, expected1 };
3960
yield return new object[] { parent, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, expected1 };
3961
yield return new object[] { parent, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, expected1 };
3967
yield return new object[] { parent, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, expected1 };
3968
yield return new object[] { parent, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, expected1 };
4077
yield return new object[] { true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, 1 };
4078
yield return new object[] { true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, 1 };
4086
yield return new object[] { true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
4087
yield return new object[] { true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
4093
yield return new object[] { true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 1 };
4094
yield return new object[] { true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 1 };
System\Windows\Forms\ControlTests.Methods.cs (8)
4314
otherControl.BackColor = Color.
FromArgb
(100, 50, 100, 150);
4567
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), null };
4568
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), Rectangle.Empty };
4569
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), new Rectangle(100, 200, 300, 400) };
4570
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), new Rectangle(1, 2, 300, 400) };
4670
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), Rectangle.Empty, 0 };
4671
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), new Rectangle(100, 200, 300, 400), 0 };
4672
yield return new object[] { true, Color.
FromArgb
(200, 50, 100, 150), new Rectangle(1, 2, 300, 400), 1 };
System\Windows\Forms\ControlTests.Properties.cs (8)
1264
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) };
1598
Assert.Throws<ArgumentException>(() => control.BackColor = Color.
FromArgb
(254, 1, 2, 3));
5382
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
7061
control.BackColor = Color.
FromArgb
(254, 255, 255, 255);
7546
control.BackColor = Color.
FromArgb
(254, 255, 255, 255);
12493
control.BackColor = Color.
FromArgb
(254, 255, 255, 255);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (66)
546
yield return new object[] { new DataGridViewCellStyle(), null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Left, false };
560
BackColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78),
561
ForeColor = Color.
FromArgb
(0x23, 0x45, 0x67, 0x80)
563
yield return new object[] { transparentStyle, font, Color.
FromArgb
(0xFF, 0x34, 0x56, 0x78), Color.
FromArgb
(0x23, 0x45, 0x67, 0x80), false, HorizontalAlignment.Left, false };
572
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Center, false
581
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Center, true
590
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Left, false
599
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Left, true
608
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false
617
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, true
627
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Center, false
636
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Center, true
645
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Left, false
654
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Left, true
663
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false
672
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, true
682
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Center, false
691
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Center, false
700
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Left, false
709
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Left, false
718
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false
727
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, false
755
yield return new object[] { new DataGridViewCellStyle(), null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Left, false };
769
BackColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78),
770
ForeColor = Color.
FromArgb
(0x23, 0x45, 0x67, 0x80)
772
yield return new object[] { transparentStyle, font, Color.
FromArgb
(0xFF, 0x34, 0x56, 0x78), Color.
FromArgb
(0xFF, 0x34, 0x56, 0x78), Color.
FromArgb
(0x23, 0x45, 0x67, 0x80), false, HorizontalAlignment.Left, false };
781
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Center, false
790
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Center, true
799
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Left, false
808
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Left, true
817
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false
826
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, true
836
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Center, false
845
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Center, true
854
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Left, false
863
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Left, true
872
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false
881
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, true
891
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Center, false
900
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Center, false
909
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Left, false
918
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Left, false
927
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false
936
null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, false
System\Windows\Forms\FontDialogTests.cs (2)
167
yield return new object[] { Color.
FromArgb
(1, 2, 3, 4), Color.
FromArgb
(1, 2, 3, 4) };
System\Windows\Forms\HtmlDocumentTests.cs (140)
26
Assert.Equal(Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF), document.ActiveLinkColor);
31
yield return new object[] { null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF) };
32
yield return new object[] { "", Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF) };
33
yield return new object[] { "NoSuchName", Color.
FromArgb
(0xFF, 0x00, 0xC0, 0x0E) };
34
yield return new object[] { "Invalid", Color.
FromArgb
(0xFF, 0x00, 0xA0, 0xD0) };
35
yield return new object[] { "Red", Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00) };
36
yield return new object[] { 0x123456, Color.
FromArgb
(0xFF, 0x11, 0x30, 0x60) };
37
yield return new object[] { 0x12345678, Color.
FromArgb
(0xFF, 0x30, 0x41, 0x89) };
38
yield return new object[] { "#", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
39
yield return new object[] { "#1", Color.
FromArgb
(0xFF, 0x1, 0x00, 0x00) };
40
yield return new object[] { "#123456", Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
41
yield return new object[] { "#12345678", Color.
FromArgb
(0xFF, 0x12, 0x45, 0x78) };
42
yield return new object[] { "abc#123456", Color.
FromArgb
(0xFF, 0xAB, 0x12, 0x56) };
43
yield return new object[] { "#G", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
63
yield return new object[] { null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF) };
64
yield return new object[] { "", Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF) };
65
yield return new object[] { "NoSuchName", Color.
FromArgb
(0xFF, 0x00, 0xC0, 0x0E) };
66
yield return new object[] { "Invalid", Color.
FromArgb
(0xFF, 0x00, 0xA0, 0xD0) };
67
yield return new object[] { "Red", Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00) };
68
yield return new object[] { 0x123456, Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
69
yield return new object[] { 0x12345678, Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF) };
70
yield return new object[] { "#", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
71
yield return new object[] { "#1", Color.
FromArgb
(0xFF, 0x1, 0x00, 0x00) };
72
yield return new object[] { "#123456", Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
73
yield return new object[] { "#12345678", Color.
FromArgb
(0xFF, 0x12, 0x45, 0x78) };
74
yield return new object[] { "abc#123456", Color.
FromArgb
(0xFF, 0xAB, 0x12, 0x56) };
75
yield return new object[] { "#G", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
243
Assert.Equal(Color.
FromArgb
(0xFF, 0xFF, 0xFF, 0xFF), document.BackColor);
248
yield return new object[] { null, Color.
FromArgb
(0xFF, 0xFF, 0xFF, 0xFF) };
249
yield return new object[] { "", Color.
FromArgb
(0xFF, 0xFF, 0xFF, 0xFF) };
250
yield return new object[] { "NoSuchName", Color.
FromArgb
(0xFF, 0x00, 0xC0, 0x0E) };
251
yield return new object[] { "Invalid", Color.
FromArgb
(0xFF, 0x00, 0xA0, 0xD0) };
252
yield return new object[] { "Red", Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00) };
253
yield return new object[] { 0x123456, Color.
FromArgb
(0xFF, 0x11, 0x30, 0x60) };
254
yield return new object[] { 0x12345678, Color.
FromArgb
(0xFF, 0x30, 0x41, 0x89) };
255
yield return new object[] { "#", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
256
yield return new object[] { "#1", Color.
FromArgb
(0xFF, 0x1, 0x00, 0x00) };
257
yield return new object[] { "#123456", Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
258
yield return new object[] { "#12345678", Color.
FromArgb
(0xFF, 0x12, 0x45, 0x78) };
259
yield return new object[] { "abc#123456", Color.
FromArgb
(0xFF, 0xAB, 0x12, 0x56) };
260
yield return new object[] { "#G", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
280
yield return new object[] { null, Color.
FromArgb
(0xFF, 0xFF, 0xFF, 0xFF) };
281
yield return new object[] { "", Color.
FromArgb
(0xFF, 0xFF, 0xFF, 0xFF) };
282
yield return new object[] { "NoSuchName", Color.
FromArgb
(0xFF, 0x00, 0xC0, 0x0E) };
283
yield return new object[] { "Invalid", Color.
FromArgb
(0xFF, 0x00, 0xA0, 0xD0) };
284
yield return new object[] { "Red", Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00) };
285
yield return new object[] { 0x123456, Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
286
yield return new object[] { 0x12345678, Color.
FromArgb
(0xFF, 0xFF, 0xFF, 0xFF) };
287
yield return new object[] { "#", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
288
yield return new object[] { "#1", Color.
FromArgb
(0xFF, 0x1, 0x00, 0x00) };
289
yield return new object[] { "#123456", Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
290
yield return new object[] { "#12345678", Color.
FromArgb
(0xFF, 0x12, 0x45, 0x78) };
291
yield return new object[] { "abc#123456", Color.
FromArgb
(0xFF, 0xAB, 0x12, 0x56) };
292
yield return new object[] { "#G", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
319
yield return new object[] { Color.Empty, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), "#000000" };
320
yield return new object[] { Color.Red, Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00), "#ff0000" };
321
yield return new object[] { Color.White, Color.
FromArgb
(0xFF, 0xFF, 0xFF, 0xFF), "#ffffff" };
322
yield return new object[] { Color.
FromArgb
(0x12, 0x34, 0x56, 0x78), Color.
FromArgb
(0xFF, 0x34, 0x56, 0x78), "#345678" };
723
Assert.Equal(Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00), document.ForeColor);
728
yield return new object[] { null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
729
yield return new object[] { "", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
730
yield return new object[] { "NoSuchName", Color.
FromArgb
(0xFF, 0x00, 0xC0, 0x0E) };
731
yield return new object[] { "Invalid", Color.
FromArgb
(0xFF, 0x00, 0xA0, 0xD0) };
732
yield return new object[] { "Red", Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00) };
733
yield return new object[] { 0x123456, Color.
FromArgb
(0xFF, 0x11, 0x30, 0x60) };
734
yield return new object[] { 0x12345678, Color.
FromArgb
(0xFF, 0x30, 0x41, 0x89) };
735
yield return new object[] { "#", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
736
yield return new object[] { "#1", Color.
FromArgb
(0xFF, 0x1, 0x00, 0x00) };
737
yield return new object[] { "#123456", Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
738
yield return new object[] { "#12345678", Color.
FromArgb
(0xFF, 0x12, 0x45, 0x78) };
739
yield return new object[] { "abc#123456", Color.
FromArgb
(0xFF, 0xAB, 0x12, 0x56) };
740
yield return new object[] { "#G", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
760
yield return new object[] { null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
761
yield return new object[] { "", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
762
yield return new object[] { "NoSuchName", Color.
FromArgb
(0xFF, 0x00, 0xC0, 0x0E) };
763
yield return new object[] { "Invalid", Color.
FromArgb
(0xFF, 0x00, 0xA0, 0xD0) };
764
yield return new object[] { "Red", Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00) };
765
yield return new object[] { 0x123456, Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
766
yield return new object[] { 0x12345678, Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
767
yield return new object[] { "#", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
768
yield return new object[] { "#1", Color.
FromArgb
(0xFF, 0x1, 0x00, 0x00) };
769
yield return new object[] { "#123456", Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
770
yield return new object[] { "#12345678", Color.
FromArgb
(0xFF, 0x12, 0x45, 0x78) };
771
yield return new object[] { "abc#123456", Color.
FromArgb
(0xFF, 0xAB, 0x12, 0x56) };
772
yield return new object[] { "#G", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
912
Assert.Equal(Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF), document.LinkColor);
917
yield return new object[] { null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF) };
918
yield return new object[] { "", Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF) };
919
yield return new object[] { "NoSuchName", Color.
FromArgb
(0xFF, 0x00, 0xC0, 0x0E) };
920
yield return new object[] { "Invalid", Color.
FromArgb
(0xFF, 0x00, 0xA0, 0xD0) };
921
yield return new object[] { "Red", Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00) };
922
yield return new object[] { 0x123456, Color.
FromArgb
(0xFF, 0x11, 0x30, 0x60) };
923
yield return new object[] { 0x12345678, Color.
FromArgb
(0xFF, 0x30, 0x41, 0x89) };
924
yield return new object[] { "#", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
925
yield return new object[] { "#1", Color.
FromArgb
(0xFF, 0x1, 0x00, 0x00) };
926
yield return new object[] { "#123456", Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
927
yield return new object[] { "#12345678", Color.
FromArgb
(0xFF, 0x12, 0x45, 0x78) };
928
yield return new object[] { "abc#123456", Color.
FromArgb
(0xFF, 0xAB, 0x12, 0x56) };
929
yield return new object[] { "#G", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
949
yield return new object[] { null, Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF) };
950
yield return new object[] { "", Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF) };
951
yield return new object[] { "NoSuchName", Color.
FromArgb
(0xFF, 0x00, 0xC0, 0x0E) };
952
yield return new object[] { "Invalid", Color.
FromArgb
(0xFF, 0x00, 0xA0, 0xD0) };
953
yield return new object[] { "Red", Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00) };
954
yield return new object[] { 0x123456, Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
955
yield return new object[] { 0x12345678, Color.
FromArgb
(0xFF, 0x00, 0x00, 0xFF) };
956
yield return new object[] { "#", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
957
yield return new object[] { "#1", Color.
FromArgb
(0xFF, 0x1, 0x00, 0x00) };
958
yield return new object[] { "#123456", Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
959
yield return new object[] { "#12345678", Color.
FromArgb
(0xFF, 0x12, 0x45, 0x78) };
960
yield return new object[] { "abc#123456", Color.
FromArgb
(0xFF, 0xAB, 0x12, 0x56) };
961
yield return new object[] { "#G", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
1275
Assert.Equal(Color.
FromArgb
(0xFF, 0x80, 0x00, 0x80), document.VisitedLinkColor);
1280
yield return new object[] { null, Color.
FromArgb
(0xFF, 0x80, 0x00, 0x80) };
1281
yield return new object[] { "", Color.
FromArgb
(0xFF, 0x80, 0x00, 0x80) };
1282
yield return new object[] { "NoSuchName", Color.
FromArgb
(0xFF, 0x00, 0xC0, 0x0E) };
1283
yield return new object[] { "Invalid", Color.
FromArgb
(0xFF, 0x00, 0xA0, 0xD0) };
1284
yield return new object[] { "Red", Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00) };
1285
yield return new object[] { 0x123456, Color.
FromArgb
(0xFF, 0x11, 0x30, 0x60) };
1286
yield return new object[] { 0x12345678, Color.
FromArgb
(0xFF, 0x30, 0x41, 0x89) };
1287
yield return new object[] { "#", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
1288
yield return new object[] { "#1", Color.
FromArgb
(0xFF, 0x1, 0x00, 0x00) };
1289
yield return new object[] { "#123456", Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
1290
yield return new object[] { "#12345678", Color.
FromArgb
(0xFF, 0x12, 0x45, 0x78) };
1291
yield return new object[] { "abc#123456", Color.
FromArgb
(0xFF, 0xAB, 0x12, 0x56) };
1292
yield return new object[] { "#G", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
1312
yield return new object[] { null, Color.
FromArgb
(0xFF, 0x80, 0x00, 0x80) };
1313
yield return new object[] { "", Color.
FromArgb
(0xFF, 0x80, 0x00, 0x80) };
1314
yield return new object[] { "NoSuchName", Color.
FromArgb
(0xFF, 0x00, 0xC0, 0x0E) };
1315
yield return new object[] { "Invalid", Color.
FromArgb
(0xFF, 0x00, 0xA0, 0xD0) };
1316
yield return new object[] { "Red", Color.
FromArgb
(0xFF, 0xFF, 0x00, 0x00) };
1317
yield return new object[] { 0x123456, Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
1318
yield return new object[] { 0x12345678, Color.
FromArgb
(0xFF, 0x80, 0x00, 0x80) };
1319
yield return new object[] { "#", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
1320
yield return new object[] { "#1", Color.
FromArgb
(0xFF, 0x1, 0x00, 0x00) };
1321
yield return new object[] { "#123456", Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
1322
yield return new object[] { "#12345678", Color.
FromArgb
(0xFF, 0x12, 0x45, 0x78) };
1323
yield return new object[] { "abc#123456", Color.
FromArgb
(0xFF, 0xAB, 0x12, 0x56) };
1324
yield return new object[] { "#G", Color.
FromArgb
(0xFF, 0x00, 0x00, 0x00) };
System\Windows\Forms\ImageList.ImageCollectionTests.cs (18)
55
image32bppArgbTransparent.SetPixel(0, 0, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78));
103
image32bppArgbTransparent.SetPixel(0, 0, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78));
154
yield return new object[] { PixelFormat.Format24bppRgb, Color.Red, Color.
FromArgb
(200, 50, 75, 100) };
161
yield return new object[] { PixelFormat.Format1bppIndexed, Color.Empty, Color.Empty, Color.
FromArgb
(255, 0, 0, 0) };
167
yield return new object[] { PixelFormat.Format24bppRgb, Color.Red, Color.
FromArgb
(200, 50, 75, 100), Color.
FromArgb
(255, 50, 75, 100) };
168
yield return new object[] { PixelFormat.Format32bppRgb, Color.Red, Color.
FromArgb
(200, 50, 75, 100), Color.
FromArgb
(255, 50, 75, 100) };
240
foreach (Color transparentColor in new Color[] { Color.Transparent, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78), Color.Empty, Color.Black })
248
bitmap.SetPixel(0, 0, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78));
420
foreach (Color transparentColor in new Color[] { Color.Transparent, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78), Color.Empty, Color.Black })
428
bitmap.SetPixel(0, 0, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78));
575
foreach (Color listTransparentColor in new Color[] { Color.Transparent, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78), Color.Empty, Color.Black })
577
foreach (Color transparentColor in new Color[] { Color.Transparent, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78), Color.Empty, Color.Black })
585
bitmap.SetPixel(0, 0, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78));
644
foreach (Color transparentColor in new Color[] { Color.Transparent, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78), Color.Empty, Color.Black })
889
foreach (Color transparentColor in new Color[] { Color.Transparent, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78), Color.Empty, Color.Black })
896
bitmap.SetPixel(0, 0, Color.
FromArgb
(0x12, 0x34, 0x56, 0x78));
System\Windows\Forms\ListBoxTests.cs (4)
1241
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) };
1267
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
System\Windows\Forms\ListViewInsertionMarkTests.cs (3)
141
control.InsertionMark.Color = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78);
382
control.InsertionMark.Color = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78);
518
insertionMark.Color = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78);
System\Windows\Forms\ListViewTests.cs (8)
514
control.BackColor = Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56);
1309
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) };
1335
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
1376
control.ForeColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78);
1844
BackColor = Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56)
1855
ForeColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78)
System\Windows\Forms\MonthCalendarTests.cs (12)
922
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) };
948
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
1084
ForeColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78)
1095
BackColor = Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56)
1106
TitleBackColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78)
1117
TitleForeColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78)
1128
TrailingForeColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78)
2715
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3) };
2774
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3) };
2928
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3) };
System\Windows\Forms\ProgressBarTests.cs (2)
553
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
System\Windows\Forms\PropertyGridTests.cs (29)
64
Assert.Equal(Color.
FromArgb
(255, 133, 133, 133), control.CommandsDisabledLinkColor);
66
Assert.Equal(Color.
FromArgb
(255, 0, 0, 255), control.CommandsLinkColor);
700
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3) };
1026
Assert.Throws<ArgumentException>(() => control.CommandsBackColor = Color.
FromArgb
(254, 1, 2, 3));
1109
yield return new object[] { Color.Empty, Color.
FromArgb
(255, 133, 133, 133) };
1172
Assert.Equal(Color.
FromArgb
(255, 133, 133, 133), control.CommandsDisabledLinkColor);
1188
Assert.Equal(Color.
FromArgb
(255, 133, 133, 133), control.CommandsDisabledLinkColor);
1272
yield return new object[] { Color.Empty, Color.
FromArgb
(255, 0, 0, 255) };
1335
Assert.Equal(Color.
FromArgb
(255, 0, 0, 255), control.CommandsLinkColor);
1351
Assert.Equal(Color.
FromArgb
(255, 0, 0, 255), control.CommandsLinkColor);
1546
CommandsBackColor = Color.
FromArgb
(255, 0, 0, 1),
1547
CommandsForeColor = Color.
FromArgb
(255, 0, 0, 2),
1548
CommandsLinkColor = Color.
FromArgb
(255, 0, 0, 3),
1549
CommandsActiveLinkColor = Color.
FromArgb
(255, 0, 0, 4),
1550
CommandsDisabledLinkColor = Color.
FromArgb
(255, 0, 0, 5)
1556
Assert.Equal(Color.
FromArgb
(255, 0, 0, 1), control.CommandsBackColor);
1557
Assert.Equal(Color.
FromArgb
(255, 0, 0, 2), control.CommandsForeColor);
1558
Assert.Equal(Color.
FromArgb
(255, 0, 0, 255), control.CommandsLinkColor);
1560
Assert.Equal(Color.
FromArgb
(255, 133, 133, 133), control.CommandsDisabledLinkColor);
1566
Assert.Equal(Color.
FromArgb
(255, 0, 0, 1), control.CommandsBackColor);
1567
Assert.Equal(Color.
FromArgb
(255, 0, 0, 2), control.CommandsForeColor);
1568
Assert.Equal(Color.
FromArgb
(255, 0, 0, 255), control.CommandsLinkColor);
1570
Assert.Equal(Color.
FromArgb
(255, 133, 133, 133), control.CommandsDisabledLinkColor);
1631
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
1814
Assert.Throws<ArgumentException>(() => control.HelpBackColor = Color.
FromArgb
(254, 1, 2, 3));
3284
Assert.Throws<ArgumentException>(() => control.ViewBackColor = Color.
FromArgb
(254, 1, 2, 3));
3369
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) };
System\Windows\Forms\RichTextBoxTests.cs (21)
1678
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) };
1704
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
1745
control.ForeColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78);
1760
control.ForeColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78);
1769
control.ForeColor = Color.
FromArgb
(0x34, 0x56, 0x78, 0x90);
3841
yield return new object[] { CFM_MASK.CFM_BACKCOLOR, 0, 0x78563412, Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
3842
yield return new object[] { CFM_MASK.CFM_BACKCOLOR, 0, 0x785634, Color.
FromArgb
(0xFF, 0x34, 0x56, 0x78) };
3843
yield return new object[] { CFM_MASK.CFM_BACKCOLOR | CFM_MASK.CFM_ANIMATION, 0, 0x78563412, Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
3909
yield return new object[] { Color.
FromArgb
(0x12, 0x34, 0x56, 0x78) };
3933
yield return new object[] { Color.
FromArgb
(0x12, 0x34, 0x56, 0x78), Color.
FromArgb
(0xFF, 0x34, 0x56, 0x78) };
3971
control.SelectionBackColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78);
3984
yield return new object[] { Color.
FromArgb
(0x12, 0x34, 0x56, 0x78) };
4513
yield return new object[] { CFM_MASK.CFM_COLOR, 0x785634, Color.
FromArgb
(0xFF, 0x34, 0x56, 0x78) };
4514
yield return new object[] { CFM_MASK.CFM_COLOR, 0x78563412, Color.
FromArgb
(0xFF, 0x12, 0x34, 0x56) };
4561
yield return new object[] { Color.
FromArgb
(0x12, 0x34, 0x56, 0x78), Color.
FromArgb
(0xFF, 0x34, 0x56, 0x78) };
4616
control.SelectionColor = Color.
FromArgb
(0x12, 0x34, 0x56, 0x78);
4629
yield return new object[] { Color.
FromArgb
(0x12, 0x34, 0x56, 0x78) };
System\Windows\Forms\ScrollableControlTests.cs (20)
1516
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout };
1517
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout };
1589
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, expected };
1590
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, expected };
1598
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
1599
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
1605
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 2 };
1606
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 2 };
1641
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, expected };
1642
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, expected };
1648
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, expected1 };
1649
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, expected1 };
1655
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, expected1 };
1656
yield return new object[] { parentFactory(), hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, expected1 };
1789
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, expected };
1790
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, expected };
1798
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
1799
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
1805
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 1 };
1806
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 1 };
System\Windows\Forms\SplitterTests.cs (2)
813
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
System\Windows\Forms\TabControlTests.cs (3)
529
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3) };
940
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
System\Windows\Forms\TabPageTests.cs (15)
2284
control.BackColor = Color.
FromArgb
(254, 255, 255, 255);
3964
yield return new object[] { true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout };
3965
yield return new object[] { true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout };
4018
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, 1 };
4019
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, 1 };
4027
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
4028
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
4034
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 1 };
4035
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 1 };
4157
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, 1 };
4158
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, 1 };
4166
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
4167
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
4173
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 1 };
4174
yield return new object[] { appearance, useVisualStyleBackColor, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 1 };
System\Windows\Forms\ToolStripItemTests.cs (2)
3352
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
System\Windows\Forms\ToolStripTests.cs (20)
5857
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout };
5858
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout };
5931
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, expected };
5932
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, expected };
5940
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
5941
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
5947
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 2 };
5948
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 2 };
5991
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, expected };
5992
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, expected };
6000
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, expected2 };
6001
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, expected2 };
6007
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, expected2 };
6008
yield return new object[] { parent, hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, expected2 };
6128
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), backgroundImage, backgroundImageLayout, 1 };
6129
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), backgroundImage, backgroundImageLayout, 1 };
6137
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
6138
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.None, 1 };
6144
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(100, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 1 };
6145
yield return new object[] { hScroll, vScroll, true, Color.
FromArgb
(0, 50, 100, 150), new Bitmap(10, 10, PixelFormat.Format32bppArgb), ImageLayout.Tile, 1 };
System\Windows\Forms\TreeViewTests.cs (2)
1460
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) };
System\Windows\Forms\UpDownBaseTests.cs (2)
936
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) };
TextBoxBaseTests.cs (4)
1162
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) };
1188
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3), 1 };
TrackBarTests.cs (1)
685
yield return new object[] { Color.
FromArgb
(254, 1, 2, 3) };
System.Windows.Forms.TestUtilities (2)
CommonTestHelperEx.cs (2)
27
{ Color.
FromArgb
(254, 1, 2, 3), Color.
FromArgb
(254, 1, 2, 3) },
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
326
return SD.Color.
FromArgb
(color.A, color.R, color.G, color.B);
WinFormsControlsTest (34)
ChartControl.Designer.cs (34)
111
chartArea1.AxisX.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
112
chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
115
chartArea1.AxisY.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
116
chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
118
chartArea1.BackColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
121
chartArea1.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
144
series1.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
156
series2.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
175
title1.ShadowColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
198
chartArea2.AxisX.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
199
chartArea2.AxisX.MajorGrid.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
203
chartArea2.AxisY.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
204
chartArea2.AxisY.MajorGrid.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
208
chartArea2.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
217
series3.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
229
series4.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
249
title2.ShadowColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
270
chartArea3.AxisX.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
271
chartArea3.AxisX.MajorGrid.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
273
chartArea3.AxisY.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
274
chartArea3.AxisY.MajorGrid.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
275
chartArea3.BackColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
278
chartArea3.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
290
series5.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
294
series6.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
311
title3.ShadowColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
330
chartArea4.AxisX.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
332
chartArea4.AxisX.MajorGrid.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
337
chartArea4.AxisY.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
339
chartArea4.AxisY.MajorGrid.LineColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
346
chartArea4.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
359
series7.BorderColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
362
series7.Color = System.Drawing.Color.
FromArgb
(((int)(((byte)(180)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
405
title4.ShadowColor = System.Drawing.Color.
FromArgb
(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));