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;
 }
Ejemplo n.º 2
0
        public void NewScenarioSelected(object sender, ScenarioEventArgs  args)
        {
            this.bindingSource1.Clear();

            foreach(ModelMetaClass model in args.SelectedScenario.Models){
                this.bindingSource1.Add(model);
            }
        }
Ejemplo n.º 3
0
 public void RunScenario(object sender, ScenarioEventArgs args)
 {
     this.NewScenarioSelected(this, args);
     this.RunModels();
 }