Free cookie consent management tool by TermsFeed Policy Generator

source: branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/ProblemDataPage.cs @ 7939

Last change on this file since 7939 was 7939, checked in by spimming, 12 years ago

#1807:

  • wizard page to view generated experiments
  • generate experiments according to example
  • plugin frame adapted
  • new version of problem view dialog included
File size: 904 bytes
Line 
1using System.ComponentModel;
2using HeuristicLab.Problems.DataAnalysis;
3
4namespace HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard {
5  public partial class ProblemDataPage : HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.WizardPage {
6    private DataAnalysisWizardContext context;
7    public DataAnalysisWizardContext Context {
8      get { return context; }
9    }
10
11    public ProblemDataPage(DataAnalysisWizardContext context) {
12      InitializeComponent();
13      this.context = context;
14      problemView.Content = new RegressionProblem();
15    }
16
17    private void ProblemDataPage_SetActive(object sender, CancelEventArgs e) {
18      SetWizardButton(Wizard.WizardButtons.Next);
19    }
20
21    private void ProblemDataPage_WizardNext(object sender, Wizard.WizardPageEventArgs e) {
22      context.Problem = (IDataAnalysisProblem)problemView.Content;
23    }
24  }
25}
Note: See TracBrowser for help on using the repository browser.