12 references to Dark
System.Windows.Forms (12)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (3)
158
ControlPaint.DrawBorder(g, bounds, ControlPaint.
Dark
(Control.BackColor), ButtonBorderStyle.Solid);
758
colors.buttonShadow = ControlPaint.
Dark
(backColor);
763
colors.buttonShadow = ControlPaint.
Dark
(backColor);
winforms\Managed\System\WinForms\ControlPaint.cs (3)
1908
using ( Pen dark = new Pen(
Dark
(backColor)) ) {
1946
color =
Dark
(color);
1972
paintcolor =
Dark
(color);
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
1709
darkPen = this.DataGridView.GetCachedPen(ControlPaint.
Dark
(baseline));
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2335
buttonShadow = ControlPaint.
Dark
(color);
winforms\Managed\System\WinForms\GDI\TextRenderer.cs (1)
348
disabledTextForeColor = ControlPaint.
Dark
(backColor);
winforms\Managed\System\WinForms\LinkLabel.cs (1)
191
iedisabledLinkColor = ControlPaint.
Dark
(DisabledColor);
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (2)
167
ControlPaint.DrawBorder(g, r, ControlPaint.
Dark
(Control.BackColor), ButtonBorderStyle.Solid);
191
ControlPaint.DrawBorder(g, r, ControlPaint.
Dark
(Control.BackColor), ButtonBorderStyle.Solid);