protected override WizardModelBase CreateWizardModelCore(WizardStyle style) { if (style == WizardStyle.WizardAero) { return(new MyWizardAeroModel(this)); } return(base.CreateWizardModelCore(style)); }
protected override WizardModelBase CreateWizardModelCore(WizardStyle style) { switch (style) { case WizardStyle.WizardAero: return(new NoHeaderWizardAeroModel(this)); default: return(base.CreateWizardModelCore(style)); } }
private void UpdateEffectiveWizardStyle(WizardStyle style) { if (style == WizardStyle.Auto) { EffectiveWizardStyle = Environment.OSVersion.Version.Major >= 6 ? WizardStyle.Aero : WizardStyle.Wizard97; } else { EffectiveWizardStyle = style; } }
protected override WizardModelBase CreateWizardModelCore(WizardStyle style) { return(new MyWizard97Model(this)); }