private void MemberMenu_Click(object sender, EventArgs e)
        {
            frmMemberInfo frmMemberInfo = frmMemberInfo.GetFrmMemberInfo();

            frmMemberInfo.Focus();
            frmMemberInfo.Show();
        }
示例#2
0
        public static frmMemberInfo GetFrmMemberInfo()
        {
            if (frmMember == null)
            {
                lock (obj)
                {
                    if (frmMember == null)
                    {
                        frmMember = new frmMemberInfo();
                    }
                }
            }

            return(frmMember);
        }
示例#3
0
 private void frmMemberInfo_FormClosed(object sender, FormClosedEventArgs e)
 {
     frmMember = null;
 }