private void HandleProgressPageCompleted(object sender, ProgressPageCompletedEventArgs e) { Contract.Requires(e != null); if (!e.Errors.Any()) { Close(); } var resultsPage = new ResultsPageViewModel(e.Errors); resultsPage.Completed += HandleResultsPageCompleted; CurrentPage = resultsPage; }
private void HandleProgressPageCompleted(object sender, ProgressPageCompletedEventArgs e) { Debug.Assert(e != null); if (!e.Errors.Any()) { Close(); } var resultsPage = new ResultsPageViewModel(e.Errors); resultsPage.Completed += HandleResultsPageCompleted; CurrentPage = resultsPage; }