Exemple #1
0
        private void tsmiPassWord_Click(object sender, EventArgs e)
        {
            ChangePwd cp = ChangePwd.CreateForm();

            cp.MdiParent = this;
            cp.Show();
        }
 public static ChangePwd CreateForm()
 {
     if (_single == null)
     {
         _single = new ChangePwd();
     }
     else
     {
         _single.Activate();
     }
     return(_single);
 }
 private void this_FormClosed(object sender, FormClosedEventArgs e)
 {
     _single = null;
 }