13 references to Control
System.Drawing.Common.Tests (1)
System\Drawing\SystemBrushesTests.cs (1)
17
yield return Brush(() => SystemBrushes.
Control
, SystemColors.Control);
System.Windows.Forms (11)
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
163
g.FillRectangle(SystemBrushes.
Control
, dropDownRect);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2082
private static SolidBrush DefaultHeadersBackBrush => (SolidBrush)SystemBrushes.
Control
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16691
g.FillRectangle(SystemBrushes.
Control
, _layout.ResizeBoxRect);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
2056
g.FillRectangle(SystemBrushes.
Control
, dropRect);
2088
g.FillRectangle(SystemBrushes.
Control
, dropRect);
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (1)
78
g.FillRectangle(SystemBrushes.
Control
, dropDownRect);
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
268
g.FillRectangle(SystemBrushes.
Control
, e.ConnectedArea);
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
712
e.Graphics.FillRectangle(SystemBrushes.
Control
, ResizeBoxRectangle);
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1324
? SystemBrushes.
Control
1492
? enabled ? (s_grabBrushPrimary ??= Brushes.White) : SystemBrushes.
Control
1493
: enabled ? (s_grabBrushSecondary ??= Brushes.Black) : SystemBrushes.
Control
;
System.Windows.Forms.Design (1)
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
69
e.Graphics.FillRectangle(SystemBrushes.
Control
, new Rectangle(e.Bounds.X + 2, e.Bounds.Y + 2, 32, e.Bounds.Height - 4));