private void szmmbutton_Click(object sender, EventArgs e) { szpassword pwd = szpassword.Create(fuzhipwd); pwd.Show(); pwd.Focus(); }
public static szpassword Create(shezhipwd chuan) { pwd = chuan; if (hyfl == null) { hyfl = new szpassword(); } return(hyfl); }
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(); } }
private void szpassword_FormClosed(object sender, FormClosedEventArgs e) { hyfl = null; }