Method DrawRectangle
DrawRectangle(Rectangle)
Draws a border around the specified rectangle using current BackColor
.
public virtual void DrawRectangle(Rectangle rect)
Parameters
rect
RectangleThe rectangle object to draw border.
DrawRectangle(int, int, int, int)
Draws a border around the specified rectangle using current BackColor
.
public virtual void DrawRectangle(int x, int y, int width, int height)