- Timestamp:
- 05/07/14 15:18:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/TransformationView.cs
r10814 r10819 22 22 using System; 23 23 using System.Windows.Forms; 24 using HeuristicLab.Data;25 24 using HeuristicLab.MainForm; 26 25 using HeuristicLab.MainForm.WindowsForms; … … 54 53 55 54 var transformator = new PreprocessingTransformator(Content.Data); 56 bool success = transformator.ApplyTransformations(transformations); 55 string errorMsg; 56 bool success = transformator.ApplyTransformations(transformations, out errorMsg); 57 57 if (success) { 58 //foreach (var transformation in transformations)59 // Content.CheckedTransformationCollection.SetItemCheckedState(transformation, false);60 58 Content.CheckedTransformationCollection.Clear(); 61 59 MessageBox.Show(this, "Transformations applied.", "Success", MessageBoxButtons.OK, MessageBoxIcon.Information); 60 } else { 61 MessageBox.Show(this, 62 "Error in Transformation.\nValue is copied when transformion of cell failed.\n" + errorMsg, 63 "Transformation failed", MessageBoxButtons.OK, MessageBoxIcon.Warning); 62 64 } 65 63 66 } 64 67 }
Note: See TracChangeset
for help on using the changeset viewer.