6 references to DrawBorder
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStripButton.cs (1)
36ControlPaint.DrawBorder(graphics, bounds,
System.Windows.Forms.Design (1)
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
401ControlPaint.DrawBorder(
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlPaintTests.cs (4)
622ControlPaint.DrawBorder(graphics, bounds, leftColor, leftWidth, leftStyle, topColor, topWidth, topStyle, rightColor, rightWidth, rightStyle, bottomColor, bottomWidth, bottomStyle); 625ControlPaint.DrawBorder(graphics, bounds, leftColor, leftWidth, leftStyle, topColor, topWidth, topStyle, rightColor, rightWidth, rightStyle, bottomColor, bottomWidth, bottomStyle); 664Assert.Throws<ArgumentOutOfRangeException>(() => ControlPaint.DrawBorder(graphics, bounds, leftColor, leftWidth, leftStyle, topColor, topWidth, topStyle, rightColor, rightWidth, rightStyle, bottomColor, bottomWidth, bottomStyle)); 683Assert.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));