private void InputA_Click(object sender, RoutedEventArgs e) { //InputA.Background = Brushes.White; char res = Convert.ToChar(Enigmaaa.Encryption('A')); CheckLabel(res); }
private void InputZ_Click(object sender, RoutedEventArgs e) { char res = Convert.ToChar(Enigmaaa.Encryption('Z')); CheckLabel(res); }
private void SetPosition_Click(object sender, RoutedEventArgs e) { Enigmaaa.RotorsFilling(); Enigmaaa.SetStartPossition(Convert.ToChar(textBox.Text), Convert.ToChar(textBox1.Text), Convert.ToChar(textBox2.Text)); }