CheckPasswordDialog.xaml.cs 678 B

12345678910111213141516171819202122232425
  1. using PDF_Master.Model.Dialog.ToolsDialogs.SaftyDialogs;
  2. using PDF_Master.ViewModels.Dialog.ToolsDialogs.SaftyDialogs;
  3. using System.Windows.Controls;
  4. namespace PDF_Master.Views.Dialog.ToolsDialogs.SaftyDialogs
  5. {
  6. /// <summary>
  7. /// Interaction logic for CheckPasswordDialog
  8. /// </summary>
  9. public partial class CheckPasswordDialog : UserControl
  10. {
  11. public CheckPasswordDialog()
  12. {
  13. InitializeComponent();
  14. }
  15. private void UserControl_Loaded(object sender, System.Windows.RoutedEventArgs e)
  16. {
  17. Dispatcher.Invoke(() =>
  18. {
  19. InputBox.Focus();
  20. });
  21. }
  22. }
  23. }