Beispiel #1
0
 private void btnAESInfo_Click(object sender, EventArgs e)
 {
     if (!AESInfo.Visible)
     {
         AESInfo = new frmAESInfo();
         AESInfo.Show();
         if (txtMessage.Text != "" && txtKey.Text != "")
         {
             AESInfo.setMessageAndKey(txtMessage.Text, txtKey.Text, txtIV.Text);
         }
         this.Close();
     }
 }
Beispiel #2
0
 private void frmAES_Load(object sender, EventArgs e)
 {
     rdoBtnEncrypt.Checked = true;
     AESInfo = new frmAESInfo();
 }
Beispiel #3
0
        private void frmAESInfo_FormClosing(object sender, FormClosingEventArgs e)
        {
            frmAESInfo AESInfo = new frmAESInfo();

            AESInfo.Close();
        }