Beispiel #1
0
        private void MenuScanSearch_Click(object sender, EventArgs e)
        {
            FrmScanSearch frm = FrmScanSearch.GetSingleton();

            frm.MdiParent = this;
            frm.Show();
            frm.Activate();
        }
 public static FrmScanSearch GetSingleton()
 {
     if (frm == null || frm.IsDisposed)
     {
         frm = new FrmScanSearch();
     }
     return(frm);
 }