- Timestamp:
- 05/15/12 14:11:56 (13 years ago)
- Location:
- branches/DataAnalysisService
- Files:
-
- 9 added
- 2 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/DataAnalysisExperimentWizard.cs
r7808 r7824 4 4 public class DataAnalysisExperimentWizard { 5 5 private WizardBase wizard; 6 private DataAnalysisWizardContext context; 6 7 7 8 public DataAnalysisExperimentWizard() { 9 context = new DataAnalysisWizardContext(); 8 10 wizard = new WizardBase(); 9 wizard.WizardPages.Add(new ProblemDataPage()); 11 wizard.Text = "Data Analysis Service"; 12 wizard.AddPage(new ProblemDataPage(context)); 13 wizard.AddPage(new ProblemDataViewPage(context)); 14 wizard.AddPage(new SelectAnalysisPage(context)); 15 wizard.AddPage(new WizardPage()); 16 wizard.AddPage(new MediumAnalysisPage()); 17 10 18 } 11 19 -
branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard.csproj
r7816 r7824 107 107 <ItemGroup> 108 108 <Compile Include="DataAnalysisExperimentWizard.cs" /> 109 <Compile Include="DataAnalysisWizardContext.cs" /> 109 110 <Compile Include="ExperimentWizardMenuItem.cs" /> 111 <Compile Include="MediumAnalysisPage.cs"> 112 <SubType>UserControl</SubType> 113 </Compile> 114 <Compile Include="MediumAnalysisPage.Designer.cs"> 115 <DependentUpon>MediumAnalysisPage.cs</DependentUpon> 116 </Compile> 110 117 <Compile Include="Plugin.cs" /> 111 118 <Compile Include="ProblemDataPage.cs"> … … 115 122 <DependentUpon>ProblemDataPage.cs</DependentUpon> 116 123 </Compile> 124 <Compile Include="ProblemDataViewPage.cs"> 125 <SubType>UserControl</SubType> 126 </Compile> 127 <Compile Include="ProblemDataViewPage.Designer.cs"> 128 <DependentUpon>ProblemDataViewPage.cs</DependentUpon> 129 </Compile> 117 130 <Compile Include="Properties\AssemblyInfo.cs" /> 131 <Compile Include="SelectAnalysisPage.cs"> 132 <SubType>UserControl</SubType> 133 </Compile> 134 <Compile Include="SelectAnalysisPage.Designer.cs"> 135 <DependentUpon>SelectAnalysisPage.cs</DependentUpon> 136 </Compile> 118 137 </ItemGroup> 119 138 <ItemGroup> 120 139 <None Include="HeuristicLab.snk" /> 121 140 <None Include="Plugin.cs.frame" /> 141 <None Include="Properties\AssemblyInfo.cs.frame" /> 122 142 </ItemGroup> 123 143 <ItemGroup> 144 <EmbeddedResource Include="MediumAnalysisPage.resx"> 145 <DependentUpon>MediumAnalysisPage.cs</DependentUpon> 146 </EmbeddedResource> 124 147 <EmbeddedResource Include="ProblemDataPage.resx"> 125 148 <DependentUpon>ProblemDataPage.cs</DependentUpon> 149 </EmbeddedResource> 150 <EmbeddedResource Include="ProblemDataViewPage.resx"> 151 <DependentUpon>ProblemDataViewPage.cs</DependentUpon> 152 </EmbeddedResource> 153 <EmbeddedResource Include="SelectAnalysisPage.resx"> 154 <DependentUpon>SelectAnalysisPage.cs</DependentUpon> 126 155 </EmbeddedResource> 127 156 </ItemGroup> -
branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/ProblemDataPage.Designer.cs
r7816 r7824 50 50 this.Size = new System.Drawing.Size(640, 480); 51 51 this.SetActive += new System.ComponentModel.CancelEventHandler(this.ProblemDataPage_SetActive); 52 this.WizardNext += new HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.WizardPageEventHandler(this.ProblemDataPage_WizardNext); 52 53 this.Controls.SetChildIndex(this.wizardBanner, 0); 53 54 this.Controls.SetChildIndex(this.dataAnalysisProblemView, 0); -
branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/ProblemDataPage.cs
r7816 r7824 4 4 namespace HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard { 5 5 public partial class ProblemDataPage : HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.WizardPage { 6 public ProblemDataPage() { 6 private DataAnalysisWizardContext context; 7 public DataAnalysisWizardContext Context { 8 get { return context; } 9 } 10 11 public ProblemDataPage(DataAnalysisWizardContext context) { 7 12 InitializeComponent(); 13 this.context = context; 8 14 dataAnalysisProblemView.Content = new RegressionProblem(); 9 15 } … … 12 18 SetWizardButton(Wizard.WizardButtons.Next); 13 19 } 20 21 private void ProblemDataPage_WizardNext(object sender, Wizard.WizardPageEventArgs e) { 22 context.Problem = dataAnalysisProblemView.Content; 23 } 14 24 } 15 25 } -
branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard/3.3/HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.csproj
r7816 r7824 95 95 <None Include="HeuristicLab.snk" /> 96 96 <None Include="Plugin.cs.frame" /> 97 <None Include="Properties\AssemblyInfo.cs.frame" /> 97 98 </ItemGroup> 98 99 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard/3.3/WizardBase.cs
r7816 r7824 92 92 btnNext.Enabled = false; 93 93 AcceptButton = btnCommit; 94 } else if (button == WizardButtons.None) { 95 btnCommit.Visible = false; 96 btnCommit.Enabled = false; 97 btnNext.Visible = true; 98 btnNext.Enabled = false; 99 btnBack.Enabled = false; 100 AcceptButton = btnNext; 94 101 } 95 102 } … … 99 106 btnCommit.Text = buttonText; 100 107 } 108 } 109 110 public void AddPage(WizardPage page) { 111 WizardPages.Add(page); 101 112 } 102 113
Note: See TracChangeset
for help on using the changeset viewer.