Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/13/13 15:15:58 (11 years ago)
Author:
sbreuer
Message:
  • initial view with hello world
  • make dataset writeable
Location:
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Views/3.4
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj

    r9859 r10134  
    391391      <Private>False</Private>
    392392    </ProjectReference>
     393    <ProjectReference Include="..\..\HeuristicLab.DataPreprocessing\3.3\HeuristicLab.DataPreprocessing-3.3.csproj">
     394      <Project>{3b90f866-70f8-43ef-a541-51819d255b7b}</Project>
     395      <Name>HeuristicLab.DataPreprocessing-3.3</Name>
     396    </ProjectReference>
    393397    <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    394398      <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
     
    467471    <EmbeddedResource Include="FeatureCorrelation\AbstractFeatureCorrelationView.resx">
    468472      <DependentUpon>AbstractFeatureCorrelationView.cs</DependentUpon>
     473    </EmbeddedResource>
     474    <EmbeddedResource Include="ProblemDataView.resx">
     475      <DependentUpon>ProblemDataView.cs</DependentUpon>
    469476    </EmbeddedResource>
    470477  </ItemGroup>
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Views/3.4/ProblemDataView.Designer.cs

    r9456 r10134  
    4646    private void InitializeComponent() {
    4747      this.FeatureCorrelationButton = new System.Windows.Forms.Button();
     48      this.DataPreprocessingButton = new System.Windows.Forms.Button();
    4849      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    4950      this.SuspendLayout();
     
    7172      this.FeatureCorrelationButton.Click += new System.EventHandler(this.FeatureCorrelationButton_Click);
    7273      //
     74      // DataPreprocessingButton
     75      //
     76      this.DataPreprocessingButton.Location = new System.Drawing.Point(311, 45);
     77      this.DataPreprocessingButton.Name = "DataPreprocessingButton";
     78      this.DataPreprocessingButton.Size = new System.Drawing.Size(121, 24);
     79      this.DataPreprocessingButton.TabIndex = 5;
     80      this.DataPreprocessingButton.Text = "Data Preprocessing";
     81      this.DataPreprocessingButton.UseVisualStyleBackColor = true;
     82      this.DataPreprocessingButton.Click += new System.EventHandler(this.DataPreprocessingButton_Click);
     83      //
    7384      // ProblemDataView
    7485      //
    7586      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    7687      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     88      this.Controls.Add(this.DataPreprocessingButton);
    7789      this.Controls.Add(this.FeatureCorrelationButton);
    7890      this.Name = "ProblemDataView";
     
    8294      this.Controls.SetChildIndex(this.nameLabel, 0);
    8395      this.Controls.SetChildIndex(this.FeatureCorrelationButton, 0);
     96      this.Controls.SetChildIndex(this.DataPreprocessingButton, 0);
    8497      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    8598      this.ResumeLayout(false);
     
    91104
    92105    protected System.Windows.Forms.Button FeatureCorrelationButton;
     106    protected System.Windows.Forms.Button DataPreprocessingButton;
    93107
    94108  }
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Views/3.4/ProblemDataView.cs

    r9456 r10134  
    2727using HeuristicLab.Core.Views;
    2828using HeuristicLab.Data;
     29using HeuristicLab.DataPreprocessing;
    2930using HeuristicLab.MainForm;
    3031using HeuristicLab.MainForm.WindowsForms;
     
    100101      e.Effect = e.AllowedEffect;
    101102    }
     103
     104    private void DataPreprocessingButton_Click(object sender, EventArgs e) {
     105      Type viewType = MainFormManager.GetViewTypes(this.Content.GetType(), true).FirstOrDefault(t => typeof(DataPreprocessingView).IsAssignableFrom(t));
     106      MainFormManager.MainForm.ShowContent(Content, viewType);
     107    }
    102108  }
    103109}
Note: See TracChangeset for help on using the changeset viewer.