Occurs when a control needs to repaint background.
The event handler receives an argument of type DrawEventArgs containing data related to this event. The following DrawEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Bounds | Gets the rectangle that represents the bounds to draw to. |
| Graphics | Gets the graphics surface to draw on. |
To draw your own border, set BorderStyle property to None and draw your border here.
ProgressBar Class | Resco.Controls.ProgressBar Namespace