将父窗体的isMdiContainer属性设置为true private void btnbig_Click(object sender, EventArgs e) { Form2 a = new Form2(); a.MdiParent = this; a.show(); }