Different form views on one form

I been wondering how you create different views of a form...

I have 1 panel and 6 panels in this panel, i have create a registry of values to decide whether or not to show these panels or not.

However,but how do i not show create this one and move the others up one or two

if the first one is not to be shown, how do i move the rest up, but if if the third one is hidden how do i remember to know if the i need to move the 4,5, 6 up more to go where panel 3 should of been.

Also if they change the values, how do i refresh the form without loading it again, and then alter the way the user has wanted to show the panels.

If i can use a link to re-write the different views of a form, i would like to use one form, for multiple views.

An example of this, if you look at the way you navigate around Microsoft Money 2001

Any help would be great.

Paul Kettley

[871 byte] By [codefund.com] at [2007-12-16]
# 1
I'm not sure exactly what you are trying to do but one thing that comes to mind is Design Only properties. These are pieces of data that are only available at design time and won't have code generated for them. Instead, their value will go into the resources file.

Check out

http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/custdsgnrdotnet.asp

And search for "DesignOnly".

codefund.com at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms Designer...