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 btnRSASignature_Click(object sender, EventArgs e) { if (!RSASigature.Visible) { RSASigature = new frmRSASignature(); RSASigature.Show(); } else { RSASigature.BringToFront(); } }
private void btnRSASignature_Click(object sender, EventArgs e) { if (!RSASignature.Visible) { RSASignature = new frmRSASignature(); RSASignature.Show(); if (txtSignedData.Text != "" && txtKey.Text != "") { RSASignature.setMessageAndKey(txtSignedData.Text, txtKey.Text, txtSignature.Text); } this.Close(); } }
private void frmRSASignatureInfo_Load(object sender, EventArgs e) { RSASignature = new frmRSASignature(); rdoBtnSign.Checked = true; }
private void frmRSASignature_FormClosing(object sender, FormClosingEventArgs e) { frmRSASignature RSASignatureCipher = new frmRSASignature(); RSASignatureCipher.Close(); }