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
VulpesPosted Aug 9, 2012, 3:08 PM
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.
AlexanderPosted Aug 9, 2012, 3:13 PM
AlexanderPosted Aug 9, 2012, 2:32 PM
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
VulpesPosted Aug 9, 2012, 1:53 PM
http://www.c-sharpcorner.com/Forums/Thread/181942/open-form-inside-another-form.aspx
AlexanderPosted Aug 9, 2012, 1:33 PM
EhteshamPosted Aug 9, 2012, 8:43 AM