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