Change your Main Form property (IsMDIContainer = True) //Write the follwing code in Menubar options Click event ( Main Form) FormName ChildForm=new FormName(); ChildForm.MdiParent = Me; ChildForm.Show();
2009/3/4 [email protected] <[email protected]> > > Hi > > Before I ask something , I would like to introduce myself. My Name is > Raman Kumar and I am from Gurgoan. > I am a bit new C#.Net ( framework 3.5), I Required your Help because > i got stuck today. > > > I have one Winform called "Main Form" where in i have created my Menu > bar on the Top. > Now i have 12-15 another sub form which I want to display just below > the Menu bar , User will click in options of menu bar and > corresponding win form should appear on the same "Main Form" and > Existing sub form Should get closed. > > In order to do the same , I thought of making Panel on " Main Form " > just below the Menu bar and want to replace the panel design value > with other win form on user click event. > > Now Question 1. - Is it Possible to do so ..... ?? > 2. If Yes then what code i need to write on > click event so that it can replace panel value with corresponding win > form. > 3. If no than what is the another way to get > this done. > > > -- Regards ******************* *C.Arun Kumar * *******************
