Changeset 17444 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Shared/JsonItemBaseControl.cs
- Timestamp:
- 02/18/20 16:28:53 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Shared/JsonItemBaseControl.cs
r17443 r17444 31 31 else 32 32 textBoxActualName.Text = VM.Item.ActualName; 33 33 34 } 35 36 private void textBoxName_Validating(object sender, CancelEventArgs e) { 37 if(string.IsNullOrWhiteSpace(textBoxName.Text)) { 38 errorProvider.SetError(textBoxName, "Name must not be empty."); 39 e.Cancel = true; 40 } else { 41 errorProvider.SetError(textBoxName, null); 42 } 34 43 } 35 44 }
Note: See TracChangeset
for help on using the changeset viewer.