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)
2138
pen = SystemPens.
ControlDark
;
2199
g.DrawRectangle(SystemPens.
ControlDark
, dropRect);
2289
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)
305
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)
1413
Pen pen = SystemPens.
ControlDark
;
2398
g.DrawLine(SystemPens.
ControlDark
, x, y, right - 1, y);
2399
g.DrawLine(SystemPens.
ControlDark
, x, y, x, bottom - 1);
2409
g.DrawLine(SystemPens.
ControlDark
, right - 1, y, right - 1, bottom - 1);
2410
g.DrawLine(SystemPens.
ControlDark
, x, bottom - 1, right - 1, bottom - 1);
2424
g.DrawRectangle(SystemPens.
ControlDark
, bound);
2430
g.DrawLine(SystemPens.
ControlDark
, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2431
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2442
g.DrawLine(SystemPens.
ControlDark
, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2443
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2447
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y);
2448
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1);
2459
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y);
2460
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)
294
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);