Exemplo n.º 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();
     }
 }
Exemplo n.º 2
0
 private void frmRSA_Load(object sender, EventArgs e)
 {
     rdoBtnEncrypt.Checked = true;
     RSAInfo = new frmRSAInfo();
 }
Exemplo n.º 3
0
        private void frmRSASignatureInfo_FormClosing(object sender, FormClosingEventArgs e)
        {
            frmRSAInfo RSAInfo = new frmRSAInfo();

            RSAInfo.Close();
        }