U
user
Hello
i have PictureBox p1:
p1.Paint += new PaintEventHandler(MyFunction);
....
public void MyFunction(Object Sender, PaintEventArgs e)
and it works fine but: when i call:
p1.Refresh();
MyFunction() ADDS everything to my picture, and i want to
repaint it from the begining. How can i do it ?
Thanx
Michal
i have PictureBox p1:
p1.Paint += new PaintEventHandler(MyFunction);
....
public void MyFunction(Object Sender, PaintEventArgs e)
and it works fine but: when i call:
p1.Refresh();
MyFunction() ADDS everything to my picture, and i want to
repaint it from the begining. How can i do it ?
Thanx
Michal