/// <summary> /// Constructor. /// </summary> /// <param name="startPage">The first page of the wizard to show.</param> public WizardDialog(WizardPage startPage) { InitializeComponent(); this.EnableWindowDragging(); this.EnableGlass(new Thickness(28, 28, 28, 100)); startPage.Return += new WizardPageReturnEventHandler(StartPage_Return); _wizardPageFrame.Navigating += new NavigatingCancelEventHandler(WizardPageFrame_Navigating); _wizardPageFrame.Navigated += new NavigatedEventHandler(WizardPageFrame_Navigated); this.Closing += new System.ComponentModel.CancelEventHandler(WizardWindow_Closing); this.CurrentPage = startPage; }
/// <summary> /// Constructor. /// </summary> private AccountDetailsDialog(WizardPage wizardPage) : base(wizardPage) { }
/// <summary> /// Constructor. /// </summary> private WorkbookDetailsDialog(WizardPage wizardPage) : base(wizardPage) { }