public void Add (WizardStepBase wizardStep)
{
if (wizardStep == null) throw new ArgumentNullException ("wizardStep");
+ wizardStep.SetWizard (wizard);
list.Add (wizardStep);
wizard.UpdateViews ();
}
public void AddAt (int index, WizardStepBase wizardStep)
{
if (wizardStep == null) throw new ArgumentNullException ("wizardStep");
+ wizardStep.SetWizard (wizard);
list.Insert (index, wizardStep);
wizard.UpdateViews ();
}