Exemple #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);
     }
 }
Exemple #2
0
 public OperationService GetOriginalString(string enterString)
 {
     return(new OperationService {
         MnemonicString = enterString, resultString = coder.GetOriginalString(enterString)
     });
 }