Create Use MDI Form
Form form1 = new Form();
Form1.ISMDIContainer = true ;
OR
Add new Item --> MDI Parent Form // this form has full Menu Bar and Status Bar
Create Child Forms
in MDIForm load function
Form child1 = new Form();
child1.WindowState = FormWindowState.Maximized;
child1.MdiParent = this;
Panel2.Controls.Add(child1); //open child form on panel in parent form
child1.Show();
if all child is opened in MDI Form , so to preview specific one use
child1.BringToFront();
OR
Add new Item --> MDI Parent Form // this form has full Menu Bar and Status Bar
Create Child Forms
in MDIForm load function
Form child1 = new Form();
child1.WindowState = FormWindowState.Maximized;
child1.MdiParent = this;
Panel2.Controls.Add(child1); //open child form on panel in parent form
child1.Show();
if all child is opened in MDI Form , so to preview specific one use
child1.BringToFront();
No comments:
Post a Comment