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