Changeset 12555
- Timestamp:
- 06/30/15 15:45:17 (9 years ago)
- Location:
- branches/DataPreprocessingImprovements/HeuristicLab.DataPreprocessing.Views/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessingImprovements/HeuristicLab.DataPreprocessing.Views/3.4/DataGridContentView.cs
r12543 r12555 126 126 127 127 string errorMessage; 128 if ( Content != null) {128 if (!String.IsNullOrEmpty(e.FormattedValue.ToString())) { 129 129 if (dataGridView.IsCurrentCellInEditMode && Content.FilterLogic.IsFiltered) { 130 130 errorMessage = "A filter is active, you cannot modify data. Press ESC to exit edit mode."; -
branches/DataPreprocessingImprovements/HeuristicLab.DataPreprocessing.Views/3.4/ManipulationView.cs
r12502 r12555 23 23 using System.Collections.Generic; 24 24 using System.Drawing; 25 using System.Globalization; 25 26 using System.Linq; 26 27 using System.Text; … … 150 151 private void validateDeleteColumnsInfo() { 151 152 validateDoubleTextBox(txtDeleteColumnsInfo.Text); 152 if (btnApply.Enabled) 153 { 153 if (btnApply.Enabled) { 154 154 var filteredColumns = Content.ManipulationLogic.ColumnsWithMissingValuesGreater(getDeleteColumnsInfo()); 155 155 int count = filteredColumns.Count; … … 308 308 if (!string.IsNullOrEmpty(text)) { 309 309 double percent; 310 if (Double.TryParse(text, out percent)) {310 if (Double.TryParse(text, NumberStyles.Number ^ NumberStyles.AllowThousands, CultureInfo.CurrentCulture, out percent)) { 311 311 btnApply.Enabled = true; 312 312 }
Note: See TracChangeset
for help on using the changeset viewer.