private void frmCryptographer_Load(object sender, EventArgs e) { ceasarCipher = new frmCaesar(); vigenereCipher = new frmVigenere(); playfairCipher = new frmPlayfair(); DESCipher = new frmDES(); AESCipher = new frmAES(); RSACipher = new frmRSA(); RSASigature = new frmRSASignature(); diffieHellman = new frmDiffieHellman(); }
private void btnAES_Click(object sender, EventArgs e) { if (!AESCipher.Visible) { AESCipher = new frmAES(); AESCipher.Show(); } else { AESCipher.BringToFront(); } }
private void btnAES_Click(object sender, EventArgs e) { if (!AES.Visible) { AES = new frmAES(); AES.Show(); if (txtMessage.Text != "" && txtKey.Text != "") { AES.setMessageAndKey(txtMessage.Text, txtKey.Text, txtIV.Text); } this.Close(); } }
private void frmAES_FormClosing(object sender, FormClosingEventArgs e) { frmAES AESCipher = new frmAES(); AESCipher.Close(); }
private void frmAESInfo_Load(object sender, EventArgs e) { rdoBtnEncrypt.Checked = true; AES = new frmAES(); }