1、新建c#应用程序,将默认的From的IsMDIContainer设为True
2、另建一个From,名为FromView
3、声明一个私有变量:Private FromView FrmView1
4、写防止打开多个MDI窗口
if(FrmVIew1==null ||FrmView1.IsDisposed)
{
FrmView1=new FormView();
FrmView1.MdiParent = this;
}
FrmView1.show();
FrmView1.Focus();