Form f = new Form();
f.Width = 200;
f.Height = 300;
f.TopLevel = false; //这是最关键的
f.Visible = true;
panel1.Controls.Add(f);
Form f = new Form();
f.Width = 200;
f.Height = 300;
f.TopLevel = false; //这是最关键的
f.Visible = true;
panel1.Controls.Add(f);