private void UpdatePage(ActivationWizardPageViewModelBase newPage) { if (this.currentPage == newPage) { return; } this.currentPage = newPage; if (this.currentPage != null) { this.currentPage.Initialize(); } this.OnPropertyChanged("CurrentPage"); this.OnPropertyChanged("PreviousActionAvailable"); this.OnPropertyChanged("NavigationEnabled"); this.OnPropertyChanged("NextActionEnabled"); }
private void RegisterPageHandlers(ActivationWizardPageViewModelBase page) { page.MoveNextRequested += new EventHandler(this.WizardPageRequestedMoveNext); page.PropertyChanged += new PropertyChangedEventHandler(this.WizardPagePropertyChanged); }