S
schaf
Hi NG!
I have a panel which acts as a container for different usercontrols.
Depending on the current state the corresponding usercontrol is
displayed. If I change the state, I remove the current usercontrol from
the panel and add the new one.
During initializing the new usercontrol the panel shows some textbox
component boarders of the removed usercontrol, which does not look very
nice. How can I freez the GUI or the panel and only call a repaint
after the initializing process ?
I tried with Suspend- and ResumeLayout, but this does not work.
Thanks and regards
Marcel
I have a panel which acts as a container for different usercontrols.
Depending on the current state the corresponding usercontrol is
displayed. If I change the state, I remove the current usercontrol from
the panel and add the new one.
During initializing the new usercontrol the panel shows some textbox
component boarders of the removed usercontrol, which does not look very
nice. How can I freez the GUI or the panel and only call a repaint
after the initializing process ?
I tried with Suspend- and ResumeLayout, but this does not work.
Thanks and regards
Marcel