コード例 #1
0
        private void tsmiRoleManager_Click(object sender, EventArgs e)
        {
            FrmRoleManager frm = FrmRoleManager.GetSingleton();

            frm.MdiParent = this;
            frm.Show();
            frm.Activate();
        }
コード例 #2
0
 public static FrmRoleManager GetSingleton()
 {
     if (frm == null || frm.IsDisposed)
     // if (frm == null)
     {
         frm = new FrmRoleManager();
     }
     return(frm);
 }