public void RestoreTo(Window window) { // https://github.com/Kittyfisto/Tailviewer/issues/250 // When we start the application, a user NEVER wants the app // to start-up minimized. Therefore we start with the previous state // just in case the app was minimized before it was shut-down. if (_window.State == WindowState.Minimized) { _window.State = _previousWindowState; } _window.RestoreTo(window); window.Topmost = AlwaysOnTop; }
public void RestoreTo(Window window) { _window.RestoreTo(window); window.Topmost = AlwaysOnTop; }