protected override void Arrange() { base.Arrange(); Steps[0].SetIsValid(true); changeListener = new PropertyChangedListener(this.Wizard); commandListener = new CanExecuteChangedListener(); commandListener.Add(this.Wizard.NextCommand); commandListener.Add(this.Wizard.PreviousCommand); }
protected override void Arrange() { base.Arrange(); Steps[1].SetIsValid(true); Steps[2].SetIsValid(true); commandListener = new CanExecuteChangedListener(); commandListener.Add(this.Wizard.FinishCommand); }
protected override void Arrange() { base.Arrange(); configurationModel = Container.Resolve<ConfigurationSourceModel>(); AddApplicationBlockCommandAttribute attribute = new AddApplicationBlockCommandAttribute("appSettings", typeof(AppSettingsSection)); addBlockCommand = Container.Resolve<AddApplicationBlockCommand>( new DependencyOverride<ConfigurationSourceModel>(configurationModel), new DependencyOverride<AddApplicationBlockCommandAttribute>(attribute)); executeChagnedListener = new CanExecuteChangedListener(); executeChagnedListener.Add(addBlockCommand); }