private void EnsureWindow() { var rootPage = CurrentWindow.Content as DesktopMainPage; if (rootPage == null) { rootPage = new DesktopMainPage();; CurrentWindow.Content = rootPage; } CurrentWindow.Activate(); }
private void EnsureWindow() { var rootPage = CurrentWindow.Content as DesktopMainPage; if (rootPage == null) { rootPage = new DesktopMainPage();; CurrentWindow.Content = rootPage; } CurrentWindow.Activate(); }