Method DrawRectangle
DrawRectangle(Rectangle)
When implemented by a class, draws a border around the specified rectangle using current BackColor
.
void DrawRectangle(Rectangle rect)
Parameters
rect
RectangleThe rectangle object to draw border.
DrawRectangle(int, int, int, int)
When implemented by a class, draws a border around the specified rectangle using dot pattern.
void DrawRectangle(int x, int y, int width, int height)