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