private void AuthorityManage_Click(object sender, EventArgs e) { if (!CheckDog()) { return; } if (LoginUser.UserAuthority == "2") { passWordChangeForm passChange = new passWordChangeForm(); passChange.ShowDialog(); } else { PassWordManageForm passManage = new PassWordManageForm(); passManage.ShowDialog(); } }
private void btnUpdate_Click(object sender, EventArgs e) { passWordChangeForm pass = new passWordChangeForm(); pass.ShowDialog(); }