/// <summary> /// Creates a new Wizard step. /// </summary> /// <param name="header">The image and label header to assign this step</param> /// <param name="control">The control to display when this step is activated.</param> /// <param name="verify">A verification callback that will be triggered prior to advancing /// past this step. If this callback returns false, the step will not advance.</param> /// <param name="next">A callback that will be triggered after the step has been verified /// and just before advancing to the next step. Steps can use this callback to add additional /// substeps prior to moving past this step.</param> /// <param name="back">A callback that will be triggered when the Wizard is going back one step. /// WizardSteps can use this callback to rollback any stateful side effects that may have occurred /// as a result of previously executing this step.</param> public WizardStep(UserControl control, StringId?header, WizardController.DisplayCallback display, WizardController.VerifyStepCallback verify, WizardController.NextCallback next, WizardController.NextCallback undoNext, WizardController.BackCallback back) { Control = control; Header = header; DisplayHandler = display; VerifyHandler = verify; NextHandler = next; UndoNextHandler = undoNext; BackHandler = back; }
/// <summary> /// Creates a new Wizard step. /// </summary> /// <param name="header">The image and label header to assign this step</param> /// <param name="control">The control to display when this step is activated.</param> /// <param name="verify">A verification callback that will be triggered prior to advancing /// past this step. If this callback returns false, the step will not advance.</param> /// <param name="next">A callback that will be triggered after the step has been verified /// and just before advancing to the next step. Steps can use this callback to add additional /// substeps prior to moving past this step.</param> /// <param name="back">A callback that will be triggered when the Wizard is going back one step. /// WizardSteps can use this callback to rollback any stateful side effects that may have occurred /// as a result of previously executing this step.</param> public WizardStep(UserControl control, StringId? header, WizardController.DisplayCallback display, WizardController.VerifyStepCallback verify, WizardController.NextCallback next, WizardController.NextCallback undoNext, WizardController.BackCallback back) { Control = control; Header = header; DisplayHandler = display; VerifyHandler = verify; NextHandler = next; UndoNextHandler = undoNext; BackHandler = back; }
public WizardSubStep(UserControl control, StringId?header, WizardController.DisplayCallback display, WizardController.VerifyStepCallback verify, WizardController.NextCallback next, WizardController.NextCallback undoNext, WizardController.BackCallback back) : base(control, header, display, verify, next, undoNext, back) { }