private void szmmbutton_Click(object sender, EventArgs e) { szpassword pwd = szpassword.Create(fuzhipwd); pwd.Show(); pwd.Focus(); }
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(); } }