示例#1
0
        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;
        }
示例#2
0
        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;
        }