SEBWIN-377: Ensured password dialog has focus when loaded.
This commit is contained in:
parent
7ee2c1031f
commit
6efd075ed5
2 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,7 @@ namespace SafeExamBrowser.UserInterface.Desktop
|
||||||
ConfirmButton.Click += ConfirmButton_Click;
|
ConfirmButton.Click += ConfirmButton_Click;
|
||||||
|
|
||||||
Closing += (o, args) => closing?.Invoke();
|
Closing += (o, args) => closing?.Invoke();
|
||||||
|
Loaded += (o, args) => Activate();
|
||||||
Password.KeyUp += Password_KeyUp;
|
Password.KeyUp += Password_KeyUp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,7 @@ namespace SafeExamBrowser.UserInterface.Mobile
|
||||||
ConfirmButton.Click += ConfirmButton_Click;
|
ConfirmButton.Click += ConfirmButton_Click;
|
||||||
|
|
||||||
Closing += (o, args) => closing?.Invoke();
|
Closing += (o, args) => closing?.Invoke();
|
||||||
|
Loaded += (o, args) => Activate();
|
||||||
Password.KeyUp += Password_KeyUp;
|
Password.KeyUp += Password_KeyUp;
|
||||||
SystemParameters.StaticPropertyChanged += SystemParameters_StaticPropertyChanged;
|
SystemParameters.StaticPropertyChanged += SystemParameters_StaticPropertyChanged;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue