コード例 #1
0
        private void szmmbutton_Click(object sender, EventArgs e)
        {
            szpassword pwd = szpassword.Create(fuzhipwd);

            pwd.Show();
            pwd.Focus();
        }
コード例 #2
0
 public static szpassword Create(shezhipwd chuan)
 {
     pwd = chuan;
     if (hyfl == null)
     {
         hyfl = new szpassword();
     }
     return(hyfl);
 }
コード例 #3
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();
     }
 }
コード例 #4
0
 private void szpassword_FormClosed(object sender, FormClosedEventArgs e)
 {
     hyfl = null;
 }