27 references to ControlDark
System.Drawing.Common.Tests (1)
System\Drawing\SystemPensTest.cs (1)
20
yield return Pen(() => SystemPens.
ControlDark
, SystemColors.ControlDark);
System.Windows.Forms (23)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
2141
pen = SystemPens.
ControlDark
;
2202
g.DrawRectangle(SystemPens.
ControlDark
, dropRect);
2292
g.DrawRectangle(SystemPens.
ControlDark
, valBounds);
System\Windows\Forms\Controls\ListView\DrawListViewColumnHeaderEventArgs.cs (2)
117
Graphics.DrawLine(SystemPens.
ControlDark
, r.X + 1, r.Bottom, r.Right, r.Bottom);
118
Graphics.DrawLine(SystemPens.
ControlDark
, r.Right, r.Y + 1, r.Right, r.Bottom);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
251
e.Graphics.DrawRectangle(SystemPens.
ControlDark
, bounds);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (2)
443
SystemPens.
ControlDark
,
450
SystemPens.
ControlDark
,
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
1144
e.Graphics.DrawRectangle(SystemPens.
ControlDark
, rect);
System\Windows\Forms\Rendering\ControlPaint.cs (14)
1385
Pen pen = SystemPens.
ControlDark
;
2334
g.DrawLine(SystemPens.
ControlDark
, x, y, right - 1, y);
2335
g.DrawLine(SystemPens.
ControlDark
, x, y, x, bottom - 1);
2345
g.DrawLine(SystemPens.
ControlDark
, right - 1, y, right - 1, bottom - 1);
2346
g.DrawLine(SystemPens.
ControlDark
, x, bottom - 1, right - 1, bottom - 1);
2360
g.DrawRectangle(SystemPens.
ControlDark
, bound);
2366
g.DrawLine(SystemPens.
ControlDark
, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2367
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2378
g.DrawLine(SystemPens.
ControlDark
, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2379
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2383
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y);
2384
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1);
2395
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y);
2396
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1);
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
297
swatchGraphics.DrawRectangle(SystemPens.
ControlDark
, new Rectangle(0, 0, width - 1, height - 1));
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
292
g.DrawRectangle(SystemPens.
ControlDark
, editRect);
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
705
e.Graphics.DrawLine(SystemPens.
ControlDark
, e.Bounds.X + 2, e.Bounds.Y + 2, e.Bounds.Right - 2, e.Bounds.Y + 2);