public static FrmWHin GetSingleton() { if (frm == null || frm.IsDisposed) { frm = new FrmWHin(); } return(frm); }
private void tsmiWHin_Click(object sender, EventArgs e) { FrmWHin frm = FrmWHin.GetSingleton(); frm.MdiParent = this; frm.Show(); frm.Activate(); }