示例#1
0
        private void tsmiDepartment_Click(object sender, EventArgs e)
        {
            FrmDepartment frm = FrmDepartment.GetSingleton();

            frm.MdiParent = this;
            frm.Show();
            frm.Activate();
        }
示例#2
0
 public static FrmDepartment GetSingleton()
 {
     if (frm == null || frm.IsDisposed)
     {
         frm = new FrmDepartment();
     }
     return(frm);
 }