Exemplo n.º 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;
        }
Exemplo n.º 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;
        }