PictureBox或Panel里面显示form的方法
pictureBox或panel里面显示form的方法
Form1 f = new Form1();
f.TopLevel = false;
f.FormBorderStyle=FormBorderStyle.None;
this.pictureBox1.Controls.Add(f);
Form1 f = new Form1();
f.TopLevel = false;
f.FormBorderStyle=FormBorderStyle.None;
this.pictureBox1.Controls.Add(f);
-----------------------------------------------------------------