Last change
on this file since 7912 was
7824,
checked in by spimming, 12 years ago
|
#1807:
- added new wizard pages
- removed AssemblyInfo files and replaced them with frame file
- disable buttons when wizardbuttons set to 'none'
- introduce data analysis context class
|
File size:
906 bytes
|
Line | |
---|
1 | using System.ComponentModel;
|
---|
2 | using HeuristicLab.Problems.DataAnalysis;
|
---|
3 |
|
---|
4 | namespace 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 | dataAnalysisProblemView.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 = dataAnalysisProblemView.Content;
|
---|
23 | }
|
---|
24 | }
|
---|
25 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.