J
Johannes Hammersen
Hi everyone,
I have a windows forms application with several full screen Usercontrolls.
Now I would like to be able to switsch between them. So that when you click
a button UC1 will become invissible an UC2 will become vissible.
Doing this from my Form that contains the UCs works fine. I have a Sub that
makes all UC invissible and then the needed UC Vissible again. That way I
can call any usercontrol from my Form. But how can i do the same from one of
the UC? So that when you push a button on UC1, UC1 will become Invissible
and UC2 will become vissible?
If possible I would like to put most of the needed code in my Form, or even
better a sepperate class, so that I don't have to add a lot to everysingle
UC.
Thank you for any help
Johannes
I have a windows forms application with several full screen Usercontrolls.
Now I would like to be able to switsch between them. So that when you click
a button UC1 will become invissible an UC2 will become vissible.
Doing this from my Form that contains the UCs works fine. I have a Sub that
makes all UC invissible and then the needed UC Vissible again. That way I
can call any usercontrol from my Form. But how can i do the same from one of
the UC? So that when you push a button on UC1, UC1 will become Invissible
and UC2 will become vissible?
If possible I would like to put most of the needed code in my Form, or even
better a sepperate class, so that I don't have to add a lot to everysingle
UC.
Thank you for any help
Johannes