Windows Develop Bookmark and Share   
 index > Windows Forms General > Design question: When you have a lot of controls...
 

Design question: When you have a lot of controls...

I'm building an administration program for a system a couple of us have been working on.  This program will have a ton of options and I'm trying to figure out how to handle this.  One person suggested I use user controls for each "page" and just include them based on user input in the navigation area.  Others have said I should make a panel for each and turn them on or off depending on user input.  I haven't had to write an app that has as many controls/actions as I am now and I'd like to start off the right way.  Can anyone provide any advice?
MigrationUser 1  Saturday, April 24, 2004 6:20 PM
I don't know about administative systems, but the problem looks simular to what I have, a drawing program with a multitude of inputtable object, I have put those in esentiallly a modeless dialog showing a TabControl with various TabPages located in a smal band underneath the thestandard windows Toolbar, the rest of the page then is my drawing arrea.
Ican imagine a simular setup would work in your case. Group your options together according to functionality (or whaterver) onto a tabpage with a functional name. options might be adjusted to the various tabpages and processed all at once or per seperate tab page, just according to needs / wants.
This approach makes a much user-friendlier screen then having all lkinds of modal dialogs popup for each several option,. modal dialogs I use for global setting which needs only be change occasionally. But in case your options are frequent inputs I suggest my modeless tabcontrol aproach,leaving a display arrea for whtever is conveniently to show there.

Hope this sugestion helps
MigrationUser 1  Sunday, April 25, 2004 4:25 AM
I'd extend that further - if you have lots of options, I would separate out functionality into MDI child forms.

don't get too carried away with tab pages - use them, but I think if you have more than 4 or 5, and the functionality is drastically different, 

Like customer info -  a customer might have alot of data - so you can't fit it on one form. Instead of making multiple mdi windows, you would make several tab pages.

But lets say I wanted to separate customers and orders, there, you would use mdi windows.


Good luck!
MigrationUser 1  Sunday, April 25, 2004 11:15 AM

You can use google to search for other answers

Custom Search

More Threads

• Windows client area text
• [Help] Writing above running video
• Caching and re-using tree of HtmlElement objects
• Get updated data from axSpreadsheet
• numeric only text box in C#
• How to validate date in the text box?
• How to refer to current form?
• C# GUI Threading
• c# mshtml and SHDocVw Web Forms
• DB Search