Changeset 10786 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/TransformationView.cs
- Timestamp:
- 04/23/14 15:56:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/TransformationView.cs
r10772 r10786 20 20 #endregion 21 21 22 using System; 22 23 using HeuristicLab.MainForm; 23 24 using HeuristicLab.MainForm.WindowsForms; 24 using HeuristicLab.Problems.DataAnalysis.Transformations;25 25 26 26 namespace HeuristicLab.DataPreprocessing.Views { … … 29 29 [Content(typeof(TransformationContent), true)] 30 30 public partial class TransformationView : AsynchronousContentView { 31 31 32 public TransformationView() { 32 33 InitializeComponent(); … … 46 47 } 47 48 } 49 50 private void applyButton_Click(object sender, EventArgs e) { 51 var transformations = Content.CheckedTransformationCollection.CheckedItems; 52 53 var transformator = new PreprocessingTransformator(Content.Data); 54 bool success = transformator.ApplyTransformations(transformations); 55 if (success) { 56 Content.CheckedTransformationCollection.Clear(); 57 } 58 } 48 59 } 49 60 }
Note: See TracChangeset
for help on using the changeset viewer.