I'm making a one window WF app that will have a bunch of buttons and combo boxes near the top to show and hide various layouts of buttons and text boxes near the bottom. Imagine you're the user and you're able to choose what form you want to fill out. When
you make your selection, the form appears below. These lower controls would be overlapping if they were to appear at the same time, plus only certain ones are relevant at certain times.
I'm wondering if there's a better way to design this in the Windows Forms Designer (VS 2008 Pro, C#) than what I came up with. Right now, I'm planning on setting all the lower control's visible properties to false, and using my program to set the appropriate ones
to true at the appropriate times. However, with so many overlapping controls, it's becoming hard to design the various layouts the way I want and make edits when I need to. The layouts don't need to be dynamically designed; I can design them before compiling.
But designing them this way if quite difficult. I may end up creating a new window for each layout I want, and popping up the appropriate one at the appropriate time, but I'd like this all to be a one window thing if possible.
Is there a better way to do this than the visible property?
View Complete Post