Refresh Method Example

The following example repaints the Rectangle object Rect1.

Rect1.Refresh