using PDF_Master.Model.Dialog.ToolsDialogs.SaftyDialogs; using PDF_Master.ViewModels.Dialog.ToolsDialogs.SaftyDialogs; using System.Windows.Controls; namespace PDF_Master.Views.Dialog.ToolsDialogs.SaftyDialogs { /// /// Interaction logic for CheckPasswordDialog /// public partial class CheckPasswordDialog : UserControl { public CheckPasswordDialog() { InitializeComponent(); } private void UserControl_Loaded(object sender, System.Windows.RoutedEventArgs e) { Dispatcher.Invoke(() => { InputBox.Focus(); }); } } }