16 references to DrawBorder
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
749
ControlPaint.
DrawBorder
(
System\Windows\Forms\Rendering\ControlPaint.cs (1)
401
DrawBorder
(graphics, bounds, Color.FromKnownColor(KnownColor.WindowFrame), ButtonBorderStyle.Solid);
System\Windows\Forms\ToolTip\DrawToolTipEventArgs.cs (1)
101
ControlPaint.
DrawBorder
(Graphics, Bounds, SystemColors.WindowFrame, ButtonBorderStyle.Solid);
System.Windows.Forms.Design (1)
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
383
ControlPaint.
DrawBorder
(
System.Windows.Forms.Tests (12)
System\Windows\Forms\ControlPaintTests.cs (5)
563
ControlPaint.
DrawBorder
(graphics, bounds, color, style);
566
ControlPaint.
DrawBorder
(graphics, bounds, color, style);
576
ControlPaint.
DrawBorder
(graphics, new Rectangle(1, 2, 3, 4), Color.Red, style);
579
ControlPaint.
DrawBorder
(graphics, new Rectangle(1, 2, 3, 4), Color.Red, style);
675
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawBorder
(null, new Rectangle(1, 2, 3, 4), Color.Red, style));
System\Windows\Forms\ControlPaintTests.Rendering.cs (7)
22
ControlPaint.
DrawBorder
(graphics, bounds, Color.Blue, ButtonBorderStyle.Solid);
41
ControlPaint.
DrawBorder
(graphics, bounds, Color.Gray, ButtonBorderStyle.Inset);
101
ControlPaint.
DrawBorder
(graphics, bounds, SystemColors.Control, ButtonBorderStyle.Inset);
176
ControlPaint.
DrawBorder
(graphics, bounds, Color.PeachPuff, ButtonBorderStyle.Outset);
250
ControlPaint.
DrawBorder
(graphics, bounds, SystemColors.Control, ButtonBorderStyle.Outset);
324
ControlPaint.
DrawBorder
(graphics, bounds, Color.Green, ButtonBorderStyle.Dotted);
352
ControlPaint.
DrawBorder
(graphics, bounds, Color.Pink, ButtonBorderStyle.Dashed);