Пример #1
0
        private void EncyptClick(object sender, RoutedEventArgs e)
        {
            ProtectString ps = new ProtectString();

            results.Items.Add(ps.Encrypt(text.Text));
            System.Diagnostics.Debug.WriteLine(ps.Encrypt(text.Text));
        }
Пример #2
0
        private void DecryptClick(object sender, RoutedEventArgs e)
        {
            ProtectString ps = new ProtectString();

            results.Items.Add(ps.Decrypt(results.Items[results.Items.Count - 1].ToString()));
        }
Пример #3
0
 private void EncyptClick(object sender, RoutedEventArgs e)
 {
     ProtectString ps = new ProtectString();
     results.Items.Add(ps.Encrypt(text.Text));
     System.Diagnostics.Debug.WriteLine(ps.Encrypt(text.Text));
 }
Пример #4
0
 private void DecryptClick(object sender, RoutedEventArgs e)
 {
     ProtectString ps = new ProtectString();
     results.Items.Add(ps.Decrypt(results.Items[results.Items.Count-1].ToString()));
 }