JaedenRuiner
Well-known member
- Joined
- Aug 13, 2007
- Messages
- 340
- Programming Experience
- 10+
Well,
I'm trying to do the layout for my form, which is already pretty loaded with controls, but I'm not too concerned with that, but mostly the appearance...with a little handling too.
Basically, the Form is designed to allow some administration of the applications database, (for those users that would need that ability), and thus it contains the BindingNavigator (with an addition combobox added for my own purposes). The ComboBox (a descendant of the ToolStripComboBox to add some personal functionality) Basically lists all the Tables in my Database (including any that I've additionally added via SQL statements, and though the Typed dataset does not "directly" typed datatable access these tables they are still accessible via the Tables() collection.
But I'm digressing here.
The Idea, is that when the ComboBox changes to select the new table, I need to have the "controls" or what not for that table to appear. Dealing with six or seven tables is quite a few "textboxes" to arrange on the form, so I was wondering about different "views".
So, Say I've got 5 tables, with the equivalent of say 4-6 Text Fields per table. I'm looking for the best, or most appropriate way (other than a TabControl, unless you can eliminate the "tabs" at the top) to psuedo animate the different views for each table.
I was thinking possibly using Panels to hold the controls and then based upon the table selected make that panel visible, but that's when I got the idea to pose the query here.
What would be the proper way to have multiple banks of controls, each bank, and to cycle through them based on a combobox value, or some other effect like that?
<EDIT>
Added Image for reference. I sort of want the controls to be viewed in the Panel1 section of the form (beneath that is a DGV for other use later)
Thanks
I'm trying to do the layout for my form, which is already pretty loaded with controls, but I'm not too concerned with that, but mostly the appearance...with a little handling too.
Basically, the Form is designed to allow some administration of the applications database, (for those users that would need that ability), and thus it contains the BindingNavigator (with an addition combobox added for my own purposes). The ComboBox (a descendant of the ToolStripComboBox to add some personal functionality) Basically lists all the Tables in my Database (including any that I've additionally added via SQL statements, and though the Typed dataset does not "directly" typed datatable access these tables they are still accessible via the Tables() collection.
But I'm digressing here.
The Idea, is that when the ComboBox changes to select the new table, I need to have the "controls" or what not for that table to appear. Dealing with six or seven tables is quite a few "textboxes" to arrange on the form, so I was wondering about different "views".
So, Say I've got 5 tables, with the equivalent of say 4-6 Text Fields per table. I'm looking for the best, or most appropriate way (other than a TabControl, unless you can eliminate the "tabs" at the top) to psuedo animate the different views for each table.
I was thinking possibly using Panels to hold the controls and then based upon the table selected make that panel visible, but that's when I got the idea to pose the query here.
What would be the proper way to have multiple banks of controls, each bank, and to cycle through them based on a combobox value, or some other effect like that?
<EDIT>
Added Image for reference. I sort of want the controls to be viewed in the Panel1 section of the form (beneath that is a DGV for other use later)
Thanks