Пример #1
0
 private void button1_Click(object sender, RoutedEventArgs e)
 {
     if (rbCode.IsChecked == true)
     {
         textBox2.Text = coder.GetMnemonicString(textBox1.Text);
     }
     else
     if (rbDecode.IsChecked == true)
     {
         textBox2.Text = coder.GetOriginalString(textBox1.Text);
     }
 }
Пример #2
0
 public OperationService GetMnemonicString(string enterString)
 {
     return(new OperationService {
         MnemonicString = coder.GetMnemonicString(enterString), resultString = enterString
     });
 }