示例#1
0
 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();
     }
 }
示例#2
0
 private void frmRSASignature_Load(object sender, EventArgs e)
 {
     rdoBtnSign.Checked = true;
     RSASignatureInfo   = new frmRSASignatureInfo();
 }