private void DisconnectFromPageEvents(WizardActionPage actionPage) { if (actionPage == null) return; actionPage.ActionStarting -= OnActionStarting; actionPage.ActionCompleted -= OnActionCompleted; actionPage.InitializationStarting -= OnInitializationStarting; actionPage.InitializationComplete -= OnInitializationComplete; }
public WizardPageChangedEventArgs(WizardActionPage oldPage, WizardActionPage newPage) { NewPage = newPage; OldPage = oldPage; }
private void ConnectToPageEvents(WizardActionPage actionPage) { if (actionPage == null) return; actionPage.ActionStarting += OnActionStarting; actionPage.ActionCompleted += OnActionCompleted; actionPage.InitializationStarting += OnInitializationStarting; actionPage.InitializationComplete += OnInitializationComplete; }