private void Button_Click(object sender, RoutedEventArgs e)
        {
            string encodeStr = textBox1.Text;

            switch (radioButtonState)
            {
            case "Caesar":

                int    key       = Convert.ToInt32(keyTextBox.Text);
                string decodeStr = Caesar.Decipher(encodeStr, key);
                textBox2.Text = decodeStr;
                break;

            case "Atbash":
                string decode = Atbash.Decode(encodeStr);
                textBox2.Text = decode;
                break;

            case "Viziner":
                string keyViziner    = keyTextBox.Text;
                string decodeViziner = Viziner.Decipher(encodeStr, keyViziner);
                textBox2.Text = decodeViziner;
                break;
            }
        }
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            string encodeStr = textBox1.Text;

            switch (radioButtonState)
            {
            case "Atbash":
                MessageBox.Show("Atbash");
                textBox2.Text = Atbash.Encode(encodeStr);
                break;

            case "Caesar":
                MessageBox.Show("Caesar");
                int key = Convert.ToInt32(keyTextBox.Text);
                textBox2.Text = Caesar.Encipher(encodeStr, key);
                break;

            case "Viziner":
                MessageBox.Show("Viziner");
                string keyViziner = keyTextBox.Text;
                textBox2.Text = Viziner.Encipher(encodeStr, keyViziner);
                break;
            }
        }