子窗体继承父窗体以后只能打开一次
通过点击Form1中的Btn打开Form2
Form1
private static Form1 frm
public static Void OPenWin()
{
if (frm == null || frm.IsDisposed)
{
frm = new Form1();
}
return frm;
}
Form2
Form1 frm1 = Form1.OpenWin();
frm1.show();