You need to redraw every time the picturebox repaints. The best way to do this is place your drawing code in the Paint event of the picturebox and use the graphics object that is passed to you (e.Graphics).

You need to redraw every time the picturebox repaints. The best way to do this is place your drawing code in the Paint event of the picturebox and use the graphics object that is passed to you (e.Graphics).

Thanks JNewt. Everything going smoothly. But one question, if I have a run-time drawing, like when user click a button and the picturebox will draw something, we need to redraw right? but how do we call the redraw event?