private void btnRSAInfo_Click(object sender, EventArgs e) { if (!RSAInfo.Visible) { RSAInfo = new frmRSAInfo(); RSAInfo.Show(); if (txtMessage.Text != "" && txtKey.Text != "") { RSAInfo.setMessageAndKey(txtMessage.Text, txtKey.Text); } this.Close(); } }
private void frmRSA_Load(object sender, EventArgs e) { rdoBtnEncrypt.Checked = true; RSAInfo = new frmRSAInfo(); }
private void frmRSASignatureInfo_FormClosing(object sender, FormClosingEventArgs e) { frmRSAInfo RSAInfo = new frmRSAInfo(); RSAInfo.Close(); }