Graphics.ClearRect
From Real Software Documentation
Method
Clears the rectangle described by the parameters passed by filling it with the background color of the parent window.
Example
This example draws a rectangle. The second line shows how to clear it.
g.DrawRect(130,10,100,100) //draws the square
g.ClearRect(130,10,100,100) //erases the square
g.ClearRect(130,10,100,100) //erases the square
