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
|
Rev | Line | |
---|
[7808] | 1 | using System.ComponentModel;
|
---|
[7816] | 2 | using HeuristicLab.Problems.DataAnalysis;
|
---|
[7808] | 3 |
|
---|
| 4 | namespace HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard {
|
---|
| 5 | public partial class ProblemDataPage : HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.WizardPage {
|
---|
[7824] | 6 | private DataAnalysisWizardContext context;
|
---|
| 7 | public DataAnalysisWizardContext Context {
|
---|
| 8 | get { return context; }
|
---|
| 9 | }
|
---|
| 10 |
|
---|
| 11 | public ProblemDataPage(DataAnalysisWizardContext context) {
|
---|
[7808] | 12 | InitializeComponent();
|
---|
[7824] | 13 | this.context = context;
|
---|
[7816] | 14 | dataAnalysisProblemView.Content = new RegressionProblem();
|
---|
[7808] | 15 | }
|
---|
| 16 |
|
---|
| 17 | private void ProblemDataPage_SetActive(object sender, CancelEventArgs e) {
|
---|
| 18 | SetWizardButton(Wizard.WizardButtons.Next);
|
---|
| 19 | }
|
---|
[7824] | 20 |
|
---|
| 21 | private void ProblemDataPage_WizardNext(object sender, Wizard.WizardPageEventArgs e) {
|
---|
| 22 | context.Problem = dataAnalysisProblemView.Content;
|
---|
| 23 | }
|
---|
[7808] | 24 | }
|
---|
| 25 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.