26 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)
2145
pen = SystemPens.
ControlDark
;
2206
g.DrawRectangle(SystemPens.
ControlDark
, dropRect);
2296
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)
1389
Pen pen = SystemPens.
ControlDark
;
2338
g.DrawLine(SystemPens.
ControlDark
, x, y, right - 1, y);
2339
g.DrawLine(SystemPens.
ControlDark
, x, y, x, bottom - 1);
2349
g.DrawLine(SystemPens.
ControlDark
, right - 1, y, right - 1, bottom - 1);
2350
g.DrawLine(SystemPens.
ControlDark
, x, bottom - 1, right - 1, bottom - 1);
2364
g.DrawRectangle(SystemPens.
ControlDark
, bound);
2370
g.DrawLine(SystemPens.
ControlDark
, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2371
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2382
g.DrawLine(SystemPens.
ControlDark
, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2383
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2387
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y);
2388
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1);
2399
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y);
2400
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1);
System.Windows.Forms.Design (2)
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);