private void btnVigenere_Click(object sender, EventArgs e)
        {
            frmPlayfair playfair = new frmPlayfair();

            playfair.Show();
            if (txtMessage.Text != "" && getTableArray(getTableTextBoxes()) != null)
            {
                playfair.setMessageAndTable(txtMessage.Text, getTableArray(getTableTextBoxes()));
            }
            this.Close();
        }
 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 btnPlayfair_Click(object sender, EventArgs e)
 {
     if (!playfairCipher.Visible)
     {
         playfairCipher = new frmPlayfair();
         playfairCipher.Show();
     }
     else
     {
         playfairCipher.BringToFront();
     }
 }