private void btnRSASignatureInfo_Click(object sender, EventArgs e) { if (!RSASignatureInfo.Visible) { RSASignatureInfo = new frmRSASignatureInfo(); RSASignatureInfo.Show(); if (txtSignedData.Text != "" && txtKey.Text != "") { RSASignatureInfo.setMessageAndKey(txtSignedData.Text, txtKey.Text, txtSignature.Text); } this.Close(); } }
private void frmRSASignature_Load(object sender, EventArgs e) { rdoBtnSign.Checked = true; RSASignatureInfo = new frmRSASignatureInfo(); }