I am curious, how to "repaint a form", for ex.
I have a function Draw(float x1, float y1, float x2, float x3) , which draws a line from point A (x1,y1) to point B (x2,y2).
On the same form, I also have 4 textboxs, which I use to get the point coordinates for drawing a line. I'm trying to do, when I enter a coordinates and I press a button - previous line should dissapear and the new one should be created.
I'm using GDI+ of course, with Visual Studio.NET 2003.