6 references to Control
System.Drawing.Common.Tests (1)
System\Drawing\SystemPensTest.cs (1)
19
yield return Pen(() => SystemPens.
Control
, SystemColors.Control);
System.Windows.Forms (5)
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
88
Pen innerPen = comboBox.Enabled ? borderPen : SystemPens.
Control
;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
2090
Pen pen = SystemInformation.HighContrast ? SystemPens.ControlLight : SystemPens.
Control
;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
712
g.DrawRectangle(SystemPens.
Control
, 0, 0, image.Width - 1, image.Height - 1);
System\Windows\Forms\Rendering\ControlPaint.cs (2)
2375
g.DrawRectangle(SystemPens.
Control
, bound);
2395
g.DrawRectangle(SystemPens.
Control
, bound);