SEBWIN-611: Forgot to invoke lockscreen re-initialization on dispatcher.
This commit is contained in:
parent
2aaa74c7b0
commit
f57771fda9
1 changed files with 11 additions and 8 deletions
|
@ -70,16 +70,19 @@ namespace SafeExamBrowser.UserInterface.Desktop.Windows
|
|||
|
||||
public void InitializeBounds()
|
||||
{
|
||||
foreach (var window in windows)
|
||||
Dispatcher.Invoke(() =>
|
||||
{
|
||||
window.Topmost = true;
|
||||
window.WindowState = WindowState.Maximized;
|
||||
window.Activate();
|
||||
}
|
||||
foreach (var window in windows)
|
||||
{
|
||||
window.Topmost = true;
|
||||
window.WindowState = WindowState.Maximized;
|
||||
window.Activate();
|
||||
}
|
||||
|
||||
Topmost = true;
|
||||
WindowState = WindowState.Maximized;
|
||||
Activate();
|
||||
Topmost = true;
|
||||
WindowState = WindowState.Maximized;
|
||||
Activate();
|
||||
});
|
||||
}
|
||||
|
||||
public new void Show()
|
||||
|
|
Loading…
Reference in a new issue