示例#1
0
 private void editAnAdminInfomationToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (ua == null)
     {
         ua             = new UpdateAdmin();
         ua.MdiParent   = this;
         ua.FormClosed += ua_FormClosed;
         ua.Show();
     }
     else
     {
         ua.Activate();
     }
 }
示例#2
0
 void ua_FormClosed(object sender, FormClosedEventArgs e)
 {
     ua = null;
 }
示例#3
0
        private void editAnAdminInfomationToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            if(ua==null)
            {
                ua = new UpdateAdmin();
                ua.MdiParent = this;
                ua.FormClosed += ua_FormClosed;
                ua.Show();
            }
            else
            {

                ua.Activate();
            }


        }
示例#4
0
 void ua_FormClosed(object sender, FormClosedEventArgs e)
 {
     ua = null;
 }