T
Tony Johansson
I have a menu item Clear which should clear the panel from all drawing.
There is no controls existing in this Panel only lines.
I thought it should be easy to clear the Panel from old drawings but it
isn't
I have tried with this code
graphics.Clear(Color.FromArgb(255, 236, 233, 216));
but I get ArgumentException saying parameter invalid.
So how can I remove the old drawing and have the Panel as it is when I start
the program.
//Tony
There is no controls existing in this Panel only lines.
I thought it should be easy to clear the Panel from old drawings but it
isn't
I have tried with this code
graphics.Clear(Color.FromArgb(255, 236, 233, 216));
but I get ArgumentException saying parameter invalid.
So how can I remove the old drawing and have the Panel as it is when I start
the program.
//Tony