c# - panel clear everything -


i reset panel initial state. e.g., set image background, drew graphics on part of panel. have clear everything. how?

you have clear panel first

panel1.controls.clear(); 

then call initial form.

panel1.controls.add(orig_form); 

Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -

c# - Binding attached property to IEnumerable -