Example #1
0
 public static PwdUpDate Create(string pwd, binddata binddata)
 {
     OldPwd    = pwd;
     databind1 = binddata;
     if (hyzj == null)
     {
         hyzj = new PwdUpDate();
     }
     return(hyzj);
 }
Example #2
0
 private void szmmbutton_Click(object sender, EventArgs e)
 {
     if (szmmbutton.Text == "修改密码")
     {
         //那就将密码传入进去
         string    pwd  = modelmember.password;
         PwdUpDate from = PwdUpDate.Create(pwd, SetPwd);
         from.Show();
     }
     else
     {
         szpassword pwd = szpassword.Create(fuzhipwd);
         pwd.Show();
         pwd.Focus();
     }
 }
Example #3
0
 private void PwdUpDate_FormClosing(object sender, FormClosingEventArgs e)
 {
     hyzj = null;
 }