private async Task ShowIncompleteDialog() { Views.IncompleteAreaDialog dialog = new Views.IncompleteAreaDialog() { WarningText = "Sorry, but the setup wizard has not been implemented yet." }; dialog.Closed += (s, e) => { if (e.Result == ContentDialogResult.Primary) { NavigationService.Navigate(typeof(Views.MainPage)); } }; await dialog.ShowAsync(); }
private async Task ShowIncompleteDialog() { Views.IncompleteAreaDialog dialog = new Views.IncompleteAreaDialog() { WarningText = "Sorry, but the setup wizard has not been implemented yet." }; dialog.Closed += (s, e) => { if (e.Result == ContentDialogResult.Primary) NavigationService.Navigate(typeof(Views.MainPage)); }; await dialog.ShowAsync(); }