Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / October 2004

Tip: Looking for answers? Try searching our database.

How to Split Windows Forms like HTML Frame ?? URGENT

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sqlak sqlak - 27 Oct 2004 07:32 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.