Questions:
How can I delete (clear) lines that were made useing Graphics.DrawLine() ?
Drawn a circle in windows form. I want the remove the drawn object in C# windows forms.
Pen pen = new Pen(Color.Black, 3); Graphics gr = this.CreateGraphics(); gr.DrawEllipse(pen, 5,5,20,20);
Quick Answer:
How can I delete (clear) lines that were made useing Graphics.DrawLine() ?
Drawn a circle in windows form. I want the remove the drawn object in C# windows forms.
Pen pen = new Pen(Color.Black, 3); Graphics gr = this.CreateGraphics(); gr.DrawEllipse(pen, 5,5,20,20);
Quick Answer:
this.Invalidate();
Cheers,
Venkatesan Prabu . J
https://www.facebook.com/KaaShivInfoTech
No comments:
Post a Comment