5 references to DrawBorder3D
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
322
ControlPaint.
DrawBorder3D
(e.Graphics, new Rectangle(0, 0, item.Width, item.Height), item.BorderStyle, (Border3DSide)item.BorderSides);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
499
ControlPaint.
DrawBorder3D
(e.Graphics, new Rectangle(0, 0, item.Width - 1, item.Height - 1), item.BorderStyle, (Border3DSide)item.BorderSides);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlPaintTests.cs (3)
755
ControlPaint.
DrawBorder3D
(graphics, rectangle, style, side);
758
ControlPaint.
DrawBorder3D
(graphics, rectangle, style, side);
804
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawBorder3D
(null, new Rectangle(1, 2, 3, 4), style, Border3DSide.All));