private async void NavigateToExit() { ViewModelLocator.ResetViewModels(); await startButtons.Dispose(); ShutdownManager.BeginShutdown(ShutdownKind.Shutdown, TimeSpan.FromSeconds(0)); }
private async void ButtonTwoGoHomePressed(object sender, EventArgs e) { ViewModelLocator.ResetViewModels(); await ExternalButtons.Dispose(); await DispatcherHelper.RunAsync(() => NavigationService.NavigateTo("StartPage")); }