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)); }
private void DecryptClick(object sender, RoutedEventArgs e) { ProtectString ps = new ProtectString(); results.Items.Add(ps.Decrypt(results.Items[results.Items.Count - 1].ToString())); }
private void DecryptClick(object sender, RoutedEventArgs e) { ProtectString ps = new ProtectString(); results.Items.Add(ps.Decrypt(results.Items[results.Items.Count-1].ToString())); }