コード例 #1
0
        private void ManagerMenu_Click(object sender, EventArgs e)
        {
            frmManagerInfo frmManager = frmManagerInfo.GetFrmManagerInfo();

            frmManager.Focus();
            frmManager.Show();
        }
コード例 #2
0
        public static frmManagerInfo GetFrmManagerInfo()
        {
            if (frmManager == null)
            {
                lock (obj)
                {
                    if (frmManager == null)
                    {
                        frmManager = new frmManagerInfo();
                    }
                }
            }

            return(frmManager);
        }
コード例 #3
0
 private void frmManagerInfo_FormClosed(object sender, FormClosedEventArgs e)
 {
     frmManager = null;
 }