116 references to Yellow
Accessibility_Core_App (1)
CommonControl1.Designer.cs (1)
666
this.dateTimePicker1.CalendarMonthBackground = System.Drawing.Color.
Yellow
;
BinaryFormatTests (1)
FormatTests\FormattedObject\BinaryFormatWriterTests.cs (1)
204
Color.FromArgb(4, Color.
Yellow
),
DesignSurface (4)
CustomControls\CustomButtonDesignerActionList.cs (3)
57
if (backColor != Color.
Yellow
)
80
_control.BackColor = backColor != Color.
Yellow
? Color.
Yellow
: Color.Blue;
MainForm.cs (1)
185
rootComponent.BackColor = Color.
Yellow
;
System.Drawing.Common.Tests (21)
System\Drawing\BrushesTests.cs (1)
149
yield return Brush(() => Brushes.Yellow, Color.
Yellow
);
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (1)
394
Colors = [Color.Wheat, Color.
Yellow
],
System\Drawing\PensTests.cs (1)
151
yield return Pen(() => Pens.Yellow, Color.
Yellow
);
System\Drawing\TextureBrushTests.cs (18)
733
[Color.Blue, Color.
Yellow
, empty, empty],
749
[Color.Blue, Color.
Yellow
, Color.Blue, Color.
Yellow
],
751
[Color.Blue, Color.
Yellow
, Color.Blue, Color.
Yellow
]
765
[Color.Blue, Color.
Yellow
, Color.
Yellow
, Color.Blue],
767
[Color.Blue, Color.
Yellow
, Color.
Yellow
, Color.Blue]
781
[Color.Blue, Color.
Yellow
, Color.Blue, Color.
Yellow
],
782
[Color.Blue, Color.
Yellow
, Color.Blue, Color.
Yellow
],
797
[Color.Blue, Color.
Yellow
, Color.
Yellow
, Color.Blue],
798
[Color.Blue, Color.
Yellow
, Color.
Yellow
, Color.Blue],
809
brushBitmap.SetPixel(1, 1, Color.
Yellow
);
System.Windows.Forms.Tests (89)
SerializableTypesTests.cs (2)
352
BackColor = Color.
Yellow
, // Colors and Font are serialized into the property bag.
378
Assert.Equal(Color.
Yellow
, result.BackColor);
System\Windows\Forms\ControlPaintTests.cs (33)
586
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 2, style, Color.Blue, 3, style, Color.
Yellow
, 4, style };
587
yield return new object[] { Rectangle.Empty, Color.Red, 1, style, Color.Green, 2, style, Color.Blue, 3, style, Color.
Yellow
, 4, style };
588
yield return new object[] { new Rectangle(1, 2, -3, -4), Color.Red, 1, style, Color.Green, 2, style, Color.Blue, 3, style, Color.
Yellow
, 4, style };
590
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 0, style, Color.Green, 2, style, Color.Blue, 3, style, Color.
Yellow
, 4, style };
591
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 0, style, Color.Green, 0, style, Color.Blue, 3, style, Color.
Yellow
, 4, style };
592
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 0, style, Color.Green, 0, style, Color.Blue, 0, style, Color.
Yellow
, 4, style };
593
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 0, style, Color.Green, 0, style, Color.Blue, 3, style, Color.
Yellow
, 0, style };
594
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 0, style, Color.Green, 0, style, Color.Blue, 0, style, Color.
Yellow
, 0, style };
595
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 0, style, Color.Green, 2, style, Color.Blue, 0, style, Color.
Yellow
, 4, style };
596
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 0, style, Color.Green, 2, style, Color.Blue, 0, style, Color.
Yellow
, 0, style };
597
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 0, style, Color.Green, 2, style, Color.Blue, 3, style, Color.
Yellow
, 0, style };
599
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 0, style, Color.Blue, 3, style, Color.
Yellow
, 4, style };
600
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 0, style, Color.Blue, 0, style, Color.
Yellow
, 4, style };
601
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 0, style, Color.Blue, 3, style, Color.
Yellow
, 0, style };
602
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 0, style, Color.Blue, 0, style, Color.
Yellow
, 0, style };
604
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 2, style, Color.Blue, 0, style, Color.
Yellow
, 4, style };
605
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 2, style, Color.Blue, 0, style, Color.
Yellow
, 0, style };
607
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 2, style, Color.Blue, 3, style, Color.
Yellow
, 0, style };
632
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, -1, style, Color.Green, 2, style, Color.Blue, 3, style, Color.
Yellow
, 4, style };
633
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, -1, style, Color.Green, -1, style, Color.Blue, 3, style, Color.
Yellow
, 4, style };
634
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, -1, style, Color.Green, -1, style, Color.Blue, -1, style, Color.
Yellow
, 4, style };
635
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, -1, style, Color.Green, -1, style, Color.Blue, 3, style, Color.
Yellow
, -1, style };
636
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, -1, style, Color.Green, -1, style, Color.Blue, -1, style, Color.
Yellow
, -1, style };
637
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, -1, style, Color.Green, 2, style, Color.Blue, -1, style, Color.
Yellow
, 4, style };
638
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, -1, style, Color.Green, 2, style, Color.Blue, -1, style, Color.
Yellow
, -1, style };
639
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, -1, style, Color.Green, 2, style, Color.Blue, 3, style, Color.
Yellow
, -1, style };
641
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, -1, style, Color.Blue, 3, style, Color.
Yellow
, 4, style };
642
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, -1, style, Color.Blue, -1, style, Color.
Yellow
, 4, style };
643
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, -1, style, Color.Blue, 3, style, Color.
Yellow
, -1, style };
644
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, -1, style, Color.Blue, -1, style, Color.
Yellow
, -1, style };
646
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 2, style, Color.Blue, -1, style, Color.
Yellow
, 4, style };
647
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 2, style, Color.Blue, -1, style, Color.
Yellow
, -1, style };
649
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Green, 2, style, Color.Blue, 3, style, Color.
Yellow
, -1, style };
System\Windows\Forms\ControlTests.Handlers.cs (2)
180
BackColor = Color.
Yellow
2007
ForeColor = Color.
Yellow
System\Windows\Forms\ControlTests.Properties.cs (21)
1315
BackColor = Color.
Yellow
1327
Assert.Equal(Color.
Yellow
, child1.BackColor);
1334
Assert.Equal(Color.
Yellow
, child1.BackColor);
1519
BackColor = Color.
Yellow
1557
Assert.Equal(Color.
Yellow
, child1.BackColor);
1566
Assert.Equal(Color.
Yellow
, child1.BackColor);
1575
Assert.Equal(Color.
Yellow
, child1.BackColor);
1587
Assert.Equal(Color.
Yellow
, child1.BackColor);
5355
ForeColor = Color.
Yellow
5367
Assert.Equal(Color.
Yellow
, child1.ForeColor);
5374
Assert.Equal(Color.
Yellow
, child1.ForeColor);
5560
ForeColor = Color.
Yellow
5598
Assert.Equal(Color.
Yellow
, child1.ForeColor);
5607
Assert.Equal(Color.
Yellow
, child1.ForeColor);
5616
Assert.Equal(Color.
Yellow
, child1.ForeColor);
5628
Assert.Equal(Color.
Yellow
, child1.ForeColor);
10959
ForeColor = Color.
Yellow
,
10995
Assert.Equal(Color.
Yellow
, control.ForeColor);
11011
Assert.Equal(Color.
Yellow
, control.ForeColor);
11027
Assert.Equal(Color.
Yellow
, control.ForeColor);
11043
Assert.Equal(Color.
Yellow
, control.ForeColor);
System\Windows\Forms\DataGridViewCellStyleTests.cs (11)
52
SelectionForeColor = Color.
Yellow
,
72
Assert.Equal(Color.
Yellow
, style.SelectionForeColor);
630
SelectionForeColor = Color.
Yellow
,
651
Assert.Equal(Color.
Yellow
, style.SelectionForeColor);
673
SelectionForeColor = Color.
Yellow
,
693
Assert.Equal(Color.
Yellow
, style.SelectionForeColor);
721
SelectionForeColor = Color.
Yellow
,
741
Assert.Equal(Color.
Yellow
, style.SelectionForeColor);
788
SelectionForeColor = Color.
Yellow
,
808
Assert.Equal(Color.
Yellow
, style.SelectionForeColor);
1137
SelectionForeColor = Color.
Yellow
,
System\Windows\Forms\DataGridViewRowTests.cs (2)
2073
SelectionBackColor = Color.
Yellow
,
2088
SelectionForeColor = Color.
Yellow
,
System\Windows\Forms\FontDialogTests.cs (1)
192
Color = Color.
Yellow
System\Windows\Forms\FormTests.cs (1)
1313
TransparencyKey = Color.
Yellow
System\Windows\Forms\ImageList.ImageCollectionTests.cs (5)
1309
image3.SetPixel(0, 0, Color.
Yellow
);
1343
image3.SetPixel(0, 0, Color.
Yellow
);
1407
image3.SetPixel(0, 0, Color.
Yellow
);
1447
image3.SetPixel(0, 0, Color.
Yellow
);
1499
image3.SetPixel(0, 0, Color.
Yellow
);
System\Windows\Forms\ListViewSubItemTests.cs (4)
31
yield return new object[] { new ListViewItem() { BackColor = Color.
Yellow
, ForeColor = Color.
Yellow
, Font = SystemFonts.StatusFont }, "reasonable", "reasonable" };
58
yield return new object[] { new ListViewItem() { BackColor = Color.
Yellow
, ForeColor = Color.
Yellow
, Font = SystemFonts.StatusFont }, string.Empty, Color.Red, Color.Blue, SystemFonts.MenuFont, Color.Red, Color.Blue, string.Empty };
System\Windows\Forms\RichTextBoxTests.cs (1)
3884
control.SelectionBackColor = Color.
Yellow
;
System\Windows\Forms\TreeViewTests.cs (6)
6022
LineColor = Color.
Yellow
,
6050
Assert.Equal(Color.
Yellow
, control.LineColor);
6068
Assert.Equal(Color.
Yellow
, control.LineColor);
6102
LineColor = Color.
Yellow
,
6131
Assert.Equal(Color.
Yellow
, control.LineColor);
6149
Assert.Equal(Color.
Yellow
, control.LineColor);