Пример #1
0
        private void decryptToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            Homophonic h1 = new Homophonic();

            h1.TextBoxValue    = "442649501678018819507449";
            h1.TextLbl2Value   = "Plain Text:";
            h1.TextLbl1Value   = "Cipher Text: ";
            h1.TextButtonValue = "Decrypt";
            h1.Show();
        }
Пример #2
0
        private void cypherToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            Homophonic h1 = new Homophonic();

            h1.TextBoxValue    = "cryptography";
            h1.TextLbl1Value   = "Plain Text:";
            h1.TextLbl2Value   = "Cipher Text: ";
            h1.TextButtonValue = "Encrypt";
            h1.Show();
        }