Hello!
I have placed an explorerbar together with a few panels onform. What I want to do is to show/hide panels depending onwhich item that is clicked in the explorer bar. The problem is that the panels dock into each other.
Can someone give me ideas how to deal with that?
Is it better to create a UserControls for all controls included in the panel etc.?
/Henrik
Thanks for the feedback. If you have any further questions, feel free to write us
Regards
Great work Georgi!
I tried that tab approach before but I didn't find a way to hide the tabs.
Now I know how to do.
I think that it is either the tab-control with hidden tabs or usercontrols that is the best for my case.
Depending on the amount of controls that I will have to put on each "panel", I will decide which way to go.
If I find out that I will have a lot of controls, I guess that I will go for a UserControl since I can separate the code easier.
If not, I go for the tabs...
Great answer!
Here is the sample
Video
Hello Henrik,
If I understand well your requirement, there are many different approaches to solve this task. Maybe one of the easiest solutions, would be if you are using TabControl instead of UserControls or many panels dock into each other. The TabControl is very useful to arrange your application. I made small sample for you. You could choose between option with visible tabs or option with hidden tabs.
Please take a look on attached sample and video file for more details and if you have any questions, feel free to write me