예제 #1
0
        private void decryptToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ADFGVX adf = new ADFGVX();

            adf.TextBoxValue    = "DFAAVDGVFAVDAVAAVAFVDAADD";
            adf.TextBox2Value   = "orange";
            adf.TextBox3Value   = "water";
            adf.TextLbl2Value   = "Plain Text:";
            adf.TextLbl1Value   = "Cipher Text: ";
            adf.TextButtonValue = "Decrypt";
            adf.Show();
        }
예제 #2
0
        private void cypherToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ADFGVX adf = new ADFGVX();

            adf.TextBoxValue    = "cryptography";
            adf.TextBox2Value   = "orange";
            adf.TextBox3Value   = "water";
            adf.TextLbl1Value   = "Plain Text:";
            adf.TextLbl2Value   = "Cipher Text: ";
            adf.TextButtonValue = "Encrypt";
            adf.Show();
        }