Hey,
I have just started to learn C# and I think it's not so hard if u switch from any other programming language.
But I don't understand how I can create a normal application with many forms.
For example u have some menu items like: customers, products, orders, ...
and a main form with the menu on it.
So is it possible to create one main form and include the content from the pages inside a panel?
Or do I have to create multiple forms and by click on a menu item I have to show the the window e.g. customer and hide the main form?
But then I have to create the menu on each form so that the layout looks like the layout on the main form.
I hope somebody understand what I mean and can help me.
Thanks
Loading

VulpesRank #55 · 29.2K reputationPosted Aug 9, 2012, 11:08 AM EDT
Whether it's the best way or not is a matter of opinion but, personally, I prefer this way of doing things to using MDI.
EhteshamRank #3,979 · 374 reputationPosted Aug 9, 2012, 4:43 AM EDT
Alexander15 reputationPosted Aug 9, 2012, 9:33 AM EDT
VulpesRank #55 · 29.2K reputationPosted Aug 9, 2012, 9:53 AM EDT
http://www.c-sharpcorner.com/Forums/Thread/181942/open-form-inside-another-form.aspx
Alexander15 reputationPosted Aug 9, 2012, 10:32 AM EDT
So is it right, if I create a main window with some infos and menus like on the top or on the left side and then add a panel where I can add a Control (form).
For example if I click on "customers" I load the form into the panel with controls.add(formname)
Is this the best way?
Thanks
Alexander15 reputationPosted Aug 9, 2012, 11:13 AM EDT