public RunnerConfigView() { RunnerConfigPresenter = new RunnerConfigPresenter(new Service.RunnerConfig.RunnerConfigManager()); InitializeComponent(); DeclareBindings(); BindPresenter(); }
internal void DataBind(RunnerConfigPresenter presenter) { if (presenter != null) { frameworkPath.DataBindings.Add("Path", presenter, "FrameworkPath", false, DataSourceUpdateMode.OnPropertyChanged); rootPath.DataBindings.Add("Path", presenter, "RootPath", false, DataSourceUpdateMode.OnPropertyChanged); testSuiteFile.DataBindings.Add("Path", presenter, "TestSuiteFile", false, DataSourceUpdateMode.OnPropertyChanged); buildNUnit.DataBindings.Add("Checked", presenter, "IsBuildNUnit", false, DataSourceUpdateMode.OnPropertyChanged); buildGallio.DataBindings.Add("Checked", presenter, "IsBuildGallio", false, DataSourceUpdateMode.OnPropertyChanged); presenter.SendWarning = DisplayWarning; presenter.SendValidation = DisplayValidation; } }
public CreateConfigsCommand(RunnerConfigPresenter presenter) { this.presenter = presenter; }