SEBWIN-377: Ensured password dialog has focus when loaded.

This commit is contained in:
Damian Büchel 2020-03-04 15:54:27 +01:00
parent 7ee2c1031f
commit 6efd075ed5
2 changed files with 2 additions and 0 deletions

View file

@ -74,6 +74,7 @@ namespace SafeExamBrowser.UserInterface.Desktop
ConfirmButton.Click += ConfirmButton_Click;
Closing += (o, args) => closing?.Invoke();
Loaded += (o, args) => Activate();
Password.KeyUp += Password_KeyUp;
}

View file

@ -84,6 +84,7 @@ namespace SafeExamBrowser.UserInterface.Mobile
ConfirmButton.Click += ConfirmButton_Click;
Closing += (o, args) => closing?.Invoke();
Loaded += (o, args) => Activate();
Password.KeyUp += Password_KeyUp;
SystemParameters.StaticPropertyChanged += SystemParameters_StaticPropertyChanged;
}