6 references to DrawBorder
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStripButton.cs (1)
36
ControlPaint.
DrawBorder
(graphics, bounds,
System.Windows.Forms.Design (1)
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
401
ControlPaint.
DrawBorder
(
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlPaintTests.cs (4)
622
ControlPaint.
DrawBorder
(graphics, bounds, leftColor, leftWidth, leftStyle, topColor, topWidth, topStyle, rightColor, rightWidth, rightStyle, bottomColor, bottomWidth, bottomStyle);
625
ControlPaint.
DrawBorder
(graphics, bounds, leftColor, leftWidth, leftStyle, topColor, topWidth, topStyle, rightColor, rightWidth, rightStyle, bottomColor, bottomWidth, bottomStyle);
664
Assert.Throws<ArgumentOutOfRangeException>(() => ControlPaint.
DrawBorder
(graphics, bounds, leftColor, leftWidth, leftStyle, topColor, topWidth, topStyle, rightColor, rightWidth, rightStyle, bottomColor, bottomWidth, bottomStyle));
683
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawBorder
(null, new Rectangle(1, 2, 3, 4), Color.Red, 1, style, Color.Red, 1, style, Color.Red, 1, style, Color.Red, 1, style));