EncryptionDialog.xaml.cs 843 B

1234567891011121314151617181920212223242526272829303132
  1. using System.Collections.ObjectModel;
  2. using System.ComponentModel;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Windows;
  6. using System.Windows.Controls;
  7. using System.Windows.Forms;
  8. namespace Compdfkit_Tools.PDFControl
  9. {
  10. public partial class EncryptionDialog : Window
  11. {
  12. public EncryptionDialog()
  13. {
  14. InitializeComponent();
  15. }
  16. }
  17. public class FileNumConverter: System.Windows.Data.IValueConverter
  18. {
  19. public object Convert(object value, System.Type targetType, object parameter, System.Globalization.CultureInfo culture)
  20. {
  21. return $"Total {value} Files";
  22. }
  23. public object ConvertBack(object value, System.Type targetType, object parameter, System.Globalization.CultureInfo culture)
  24. {
  25. return null;
  26. }
  27. }
  28. }