Hi All,
Could you please give me an idea or sample on how to split a Windows
form into 2 partition similar to HTML Frames.
My objective is that I have Windows Form called "Main". In the fom
"Main", I need 2 section in vertically.
One section called "section1" to keep "Menu Options" and other section
called "section2".
"section1" will be used to place "menu options". "section2" content
would be dynamic where I need to load "forms" based "menu option" user
click from "section1".
Kindly advise... Many thanks in advance..
to display or load a form based on user selction from "section1".
Tarakeshwar L - 27 Oct 2004 07:37 GMT
Create a main form. Have a panel in the left which will contain the menu
options. Make ur main form as mdiparent. and call ur forms as child forms to
the main form.

Signature
Tarkeshwar
.Net Programmer
Fifth Generation Technologies
> Hi All,
>
[quoted text clipped - 14 lines]
>
> to display or load a form based on user selction from "section1".
sqlak sqlak - 27 Oct 2004 08:22 GMT
Hi Tarkeshwar
Thanks for reply.
if I create all forms as child of "main", shall I create the panel in
all "child forms". I need the menu option to be available in child forms
which loaded on selection of menu option from "main" form as well as
"child".
Kindly help... many thanks in advance..
REgards
Tarakeshwar L - 27 Oct 2004 11:38 GMT
Hi,
You could have the panel in the main form. The common menu controls could be
in this panel, as u load a child form you could add the menu options of that
child form to the main form panel.
When common menu controls are clicked, you would load a new form. When you
click on the child form menu options you could do the necessary action or
load a different form.

Signature
Tarkeshwar
.Net Programmer
Fifth Generation Technologies
> Hi Tarkeshwar
>
[quoted text clipped - 8 lines]
>
> REgards
sqlak sqlak - 27 Oct 2004 13:12 GMT
thanks for all the help..
I will be trying by creating of a sample application as you as advised.
any issues I will get back to you.
Many thanks..
Jon Skeet [C# MVP] - 27 Oct 2004 11:31 GMT
> Could you please give me an idea or sample on how to split a Windows
> form into 2 partition similar to HTML Frames.
[quoted text clipped - 8 lines]
> would be dynamic where I need to load "forms" based "menu option" user
> click from "section1".
See the Splitter control.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too