11 references to DrawBorder
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
158
ControlPaint.
DrawBorder
(g, bounds, ControlPaint.Dark(Control.BackColor), ButtonBorderStyle.Solid);
478
ControlPaint.
DrawBorder
(g, r, c, ButtonBorderStyle.Solid);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (1)
143
ControlPaint.
DrawBorder
(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, ButtonBorderStyle.Solid);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
216
ControlPaint.
DrawBorder
(g, r, colors.buttonShadow, ButtonBorderStyle.Solid);
winforms\Managed\System\WinForms\ControlPaint.cs (1)
434
ControlPaint.
DrawBorder
(graphics, bounds, Color.FromKnownColor(KnownColor.WindowFrame), ButtonBorderStyle.Solid);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
792
ControlPaint.
DrawBorder
(g, valBounds, SystemColors.Control,
882
ControlPaint.
DrawBorder
(g,
winforms\Managed\System\WinForms\DrawToolTipEventArgs.cs (1)
159
ControlPaint.
DrawBorder
(graphics, bounds, SystemColors.WindowFrame, ButtonBorderStyle.Solid);
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);
winforms\Managed\System\WinForms\UpDownBase.cs (1)
856
ControlPaint.
DrawBorder
(e.Graphics, editBounds, SystemColors.Control, ButtonBorderStyle.Solid);