Beispiel #1
0
 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();
     }
 }
Beispiel #2
0
 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();
        }