Пример #1
0
 //修改密码
 private void button_changePass_Click(object sender, EventArgs e)
 {
     FormChangePwd f1 = (FormChangePwd)checkFormsIsOpen("FormChangePwd");
     if (f1 == null)
     {
         FormChangePwd us = new FormChangePwd(this.Left, this.Top, m_usname);
         us.Show();
     }
     else
         f1.Activate();
 }
Пример #2
0
        //修改密码
        private void button_changePass_Click(object sender, EventArgs e)
        {
            FormChangePwd f1 = (FormChangePwd)checkFormsIsOpen("FormChangePwd");

            if (f1 == null)
            {
                FormChangePwd us = new FormChangePwd(this.Left, this.Top, m_usname);
                us.Show();
            }
            else
            {
                f1.Activate();
            }
        }