void DisplayMatch() { ApplicationCommands.ShowWindow.Execute(null); if (!NavigationHelper.TryNavigateTo("MainRegion", "TeamsPanel", parameters, out Exception exception)) { AppCriticalExceptionHandlerService.HandleCriticalError(exception); } }
void HideWindowAndLoadMatchInBackground() { //hide window and then navigate to match ApplicationCommands.HideWindow.Execute(null); if (!NavigationHelper.TryNavigateTo("MainRegion", "TeamsPanel", parameters, out Exception exception)) { AppCriticalExceptionHandlerService.HandleCriticalError(exception); } }