Пример #1
0
 private void changeMyPasswordToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (cep == null)
     {
         cep             = new ChangeEmployeePassword(n);
         cep.MdiParent   = this;
         cep.FormClosed += cep_FormClosed;
         cep.Show();
     }
     else
     {
         cep.Activate();
     }
 }
Пример #2
0
 void cep_FormClosed(object sender, FormClosedEventArgs e)
 {
     cep = null;
 }
Пример #3
0
 void cep_FormClosed(object sender, FormClosedEventArgs e)
 {
     cep = null;
 }
Пример #4
0
        private void changeMyPasswordToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (cep == null)
            {
                cep = new ChangeEmployeePassword(n);
                cep.MdiParent = this;
                cep.FormClosed += cep_FormClosed;
                cep.Show();

            }
            else
            {
                cep.Activate();
            }
        }