'Declaration Public Overloads Sub DrawThemedBox( _ ByVal g As System.Drawing.Graphics, _ ByVal r As System.Drawing.Rectangle, _ ByVal b As System.Drawing.Brush, _ ByVal borderColor As System.Drawing.Color, _ ByVal corners As System.Integer _ )
public void DrawThemedBox( System.Drawing.Graphics g, System.Drawing.Rectangle r, System.Drawing.Brush b, System.Drawing.Color borderColor, System.int corners )
Parameters
- g
- A System.Drawing.Graphics object that encapsulates a GDI+ drawing surface.
- r
- The rectangle area to paint.
- b
- A System.Drawing.Brush object to fill the rectangle.
- borderColor
- The color of the border of the rectangle.
- corners
- Radius of all rectangle corners, in pixels.