Draws a border on a button-style control with the specified styles, colors, and border widths; on the specified graphics surface; and within the specified bounds.
- graphics
The System.Drawing.Graphics to draw on.
- bounds
The System.Drawing.Rectangle that represents the dimensions of the border.
- leftColor
The System.Drawing.Color of the left of the border.
- leftWidth
The width of the left border.
- leftStyle
One of the System.Windows.Forms.ButtonBorderStyle values that specifies the style of the left border.
- topColor
The System.Drawing.Color of the top of the border.
- topWidth
The width of the top border.
- topStyle
One of the System.Windows.Forms.ButtonBorderStyle values that specifies the style of the top border.
- rightColor
The System.Drawing.Color of the right of the border.
- rightWidth
The width of the right border.
- rightStyle
One of the System.Windows.Forms.ButtonBorderStyle values that specifies the style of the right border.
- bottomColor
The System.Drawing.Color of the bottom of the border.
- bottomWidth
The width of the bottom border.
- bottomStyle
One of the System.Windows.Forms.ButtonBorderStyle values that specifies the style of the bottom border.