public void ScenarioSelected(object sender, ScenarioEventArgs args) { this.SelectedScenario = args.SelectedScenario; this.txtName.Text = this.SelectedScenario.Name; this.lblOutPath.Text = this.SelectedScenario.OutputDirectory; this.lblInPath.Text = this.SelectedScenario.InputDirectory; this.lblPrefix.Text = this.SelectedScenario.FilePrefix; }
public void NewScenarioSelected(object sender, ScenarioEventArgs args) { this.bindingSource1.Clear(); foreach(ModelMetaClass model in args.SelectedScenario.Models){ this.bindingSource1.Add(model); } }
public void RunScenario(object sender, ScenarioEventArgs args) { this.NewScenarioSelected(this, args); this.RunModels(); }