Changeset 16817 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/NamedIntervalsView.cs
- Timestamp:
- 04/18/19 14:07:11 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/NamedIntervalsView.cs
r16730 r16817 153 153 dataGridView.Rows[e.RowIndex].ErrorText = string.Empty; 154 154 } 155 156 private void dataGridView_CellValidated(object sender, DataGridViewCellEventArgs e) { 157 var col = e.ColumnIndex; 158 var row = e.RowIndex; 159 if (double.TryParse(dataGridView.Rows[row].Cells[col].Value.ToString(), out var value)) 160 dataGridView.Rows[row].Cells[col].Value = value; 161 } 155 162 } 156 163 }
Note: See TracChangeset
for help on using the changeset viewer.