Display different forms inside the main form
hello there! I have this application with huge space that is usable and buttons on left hand side of the main winForm. I want to display different forms in that blank space and act as a child for that main form.
*I am very very very new to C#, m just beginning, any help would be appreciable.
MDI is the term you're looking for: Multiple Document Interface. You set the IsMdiContainer property of the parent for to true in the designer and then you assign that parent form to the MdiParent property of each child form before calling Show.
Note that any controls that you have already added to the parent form will float over the MDI client area, which may not look ideal. If not, you can add a Panel to the form and set its Dock property to the appropriate edge, then move the existing child controls into that.
From the looks of the screenshot, he really just needs a vertical tab control with the tabs on the left side, that would give him a container to lay out each "tab" on the right.
I've done this in another (vb.net) project years ago, let me see if I can find the link to the vert tab control I used.
[.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)-VBForums
Tags for this Thread