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