Example #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();
     }
 }
Example #2
0
 void ua_FormClosed(object sender, FormClosedEventArgs e)
 {
     ua = null;
 }
Example #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();
            }


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