public static WizardStrategy CreateWizard(bool DesignMode, AdvancedWizard wizard)
        {
            if(DesignMode)
                return new DesignTimeWizardStrategy(wizard);

            return new RuntimeWizardStrategy(wizard);
        }
 private void GetReferenceToWizardControl(IComponent c)
 {
     _wizard = ((Control) c as AdvancedWizard);
 }
 public DesignTimeWizardStrategy(AdvancedWizard wizard)
 {
     _wizard = wizard;
 }
 public RuntimeWizardStrategy(AdvancedWizard wizard)
 {
     _wizard = wizard;
 }