33 references to ControlDark
System.Web.Mobile (1)
UI\MobileControls\Design\Util\GroupLabel.cs (1)
51
g.DrawLine(SystemPens.
ControlDark
, etchLeft, etchTop, r.Width, etchTop);
System.Windows.Forms (23)
winforms\Managed\System\WinForms\ControlPaint.cs (15)
1063
pen = SystemPens.
ControlDark
;
1303
Pen pen = SystemPens.
ControlDark
;
2424
g.DrawLine(SystemPens.
ControlDark
, x, y, right - 1, y);
2425
g.DrawLine(SystemPens.
ControlDark
, x, y, x, bottom - 1);
2439
g.DrawLine(SystemPens.
ControlDark
, right - 1, y, right - 1, bottom - 1);
2440
g.DrawLine(SystemPens.
ControlDark
, x, bottom - 1, right - 1, bottom - 1);
2454
g.DrawRectangle(SystemPens.
ControlDark
, bound);
2463
g.DrawLine(SystemPens.
ControlDark
, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2464
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2477
g.DrawLine(SystemPens.
ControlDark
, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2478
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2482
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y);
2483
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1);
2497
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y);
2498
g.DrawLine(SystemPens.
ControlDark
, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
2420
pen = SystemPens.
ControlDark
;
2486
g.DrawRectangle(SystemPens.
ControlDark
, dropRect);
2574
g.DrawRectangle(SystemPens.
ControlDark
, valBounds);
winforms\Managed\System\WinForms\DrawListViewColumnHeaderEventArgs.cs (2)
183
graphics.DrawLine(SystemPens.
ControlDark
, r.X + 1, r.Bottom, r.Right, r.Bottom);
184
graphics.DrawLine(SystemPens.
ControlDark
, r.Right, r.Y + 1, r.Right, r.Bottom);
winforms\Managed\System\WinForms\TableLayoutPanel.cs (2)
468
g.DrawLine(SystemPens.
ControlDark
, tableBounds.Right, tableBounds.Y, tableBounds.Right, tableBounds.Bottom);
469
g.DrawLine(SystemPens.
ControlDark
, tableBounds.X, tableBounds.Y + tableBounds.Height - 1, tableBounds.X + tableBounds.Width - 1, tableBounds.Y + tableBounds.Height - 1);
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
614
Pen foreColorPen = SystemPens.
ControlDark
;
System.Workflow.ComponentModel (9)
AuthoringOM\Design\DesignerWidgets.cs (5)
1622
e.Graphics.DrawLine(SystemPens.
ControlDark
, SplitterSize - 2, 0, SplitterSize - 2, this.splitter.Height - 1);
1623
e.Graphics.DrawLine(SystemPens.
ControlDark
, SplitterSize - 2, this.splitter.Height - 1, 0, this.splitter.Height - 1);
1632
e.Graphics.DrawLine(SystemPens.
ControlDark
, 0, SplitterSize - 2, this.splitter.Width, SplitterSize - 2);
1633
e.Graphics.DrawLine(SystemPens.
ControlDark
, this.splitter.Width - 1, SplitterSize - 2, this.splitter.Width - 1, 1);
3428
graphics.DrawRectangle(SystemPens.
ControlDark
, canvasRect);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
545
e.Graphics.DrawRectangle(SystemPens.
ControlDark
, 0, 0, this.themePanel.ClientSize.Width - 1, this.themePanel.ClientSize.Height - 2);
551
e.Graphics.DrawLine(SystemPens.
ControlDark
, top, bottom);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
510
paintArgs.Graphics.DrawLine(SystemPens.
ControlDark
, lineRectangle.Left, lineRectangle.Bottom, lineRectangle.Right, lineRectangle.Bottom);
515
paintArgs.Graphics.DrawLine(SystemPens.
ControlDark
, lineRectangle.Left, lineRectangle.Bottom, lineRectangle.Right, lineRectangle.Bottom);