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 btnRSA_Click(object sender, EventArgs e) { if (!RSACipher.Visible) { RSACipher = new frmRSA(); RSACipher.Show(); } else { RSACipher.BringToFront(); } }
private void btnRSA_Click(object sender, EventArgs e) { if (!RSA.Visible) { RSA = new frmRSA(); RSA.Show(); if (txtMessage.Text != "" && txtKey.Text != "") { RSA.setMessageAndKey(txtMessage.Text, txtKey.Text); } this.Close(); } }
private void frmRSA_FormClosing(object sender, FormClosingEventArgs e) { frmRSA RSACipher = new frmRSA(); RSACipher.Close(); }
private void frmRSAInfo_Load(object sender, EventArgs e) { RSA = new frmRSA(); rdoBtnEncrypt.Checked = true; }