private void method_10(object sender, EventArgs e) { ChangeCertPass pass = new ChangeCertPass(); pass.method_2(""); pass.ShowDialog(); }
private void btnChangeCertPWD_Click(object sender, EventArgs e) { ChangeCertPass pass = new ChangeCertPass(true); pass.method_2(""); if (pass.ShowDialog() == DialogResult.OK) { MessageBoxHelper.Show("证书口令修改成功,请输入证书新口令登录系统!", "证书口令修改", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); this.txtCertPassword.Focus(); this.txtCertPassword.SelectAll(); } else { MessageBoxHelper.Show("取消证书口令修改!", "证书口令修改", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); } }