[]
Invalidates the entire surface of the control and causes the control to be redrawn.
public void Invalidate()
Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
public void Invalidate(Rectangle r)
Type | Name | Description |
---|---|---|
Rectangle | r | A rectangle that represents the region to invalidate. |