如题,谢谢大家的关注!

解决方案 »

  1.   

    你把 父窗口 MDI = true
    void buttonClick( ...)
    {
     Form2 = new Form2();
     Form2.Parent = this;
     Form2.Show();
    }
      

  2.   

    我说的容器是指splitContainer等容器控件 ,或者把子窗体显示在一个父窗体的指定区域也可以,有什么方法可以实现呢?
      

  3.   


                frm = new Form7();
                frm.TopLevel = false;
                this.splitContainer1.Controls.Add(frm);
                frm.Show();
      

  4.   

     childFrom.Parent = pnlParrent;//你要装载的容器