Form2 frm = new Form2(); frm.TopLevel = false; frm.Dock = DockStyle.Fill; panel1.Controls.Add(frm);
panel1.Controls.Add(new Form2() {TopLevel = false,Dock=DockStyle.Fill });
Form2 frm = new Form2(); frm.TopLevel = false; frm.Dock = DockStyle.Fill; frm.Show(); // Shows the form with specified owner to user this.panel1.Controls.Add(frm);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)