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