Changeset 8519 for branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding.Views/3.3/CreateExperimentDialogV2.cs
- Timestamp:
- 08/22/12 17:26:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding.Views/3.3/CreateExperimentDialogV2.cs
r8517 r8519 93 93 } 94 94 95 private void CloseDialog() { 96 if (InvokeRequired) { 97 Invoke(new Action(CloseDialog)); 98 } else { 99 this.DialogResult = DialogResult.OK; 100 this.Close(); 101 } 102 } 103 95 104 private void ReportError(Exception e) { 96 105 if (InvokeRequired) { … … 144 153 generation.ContinueWith(t => { 145 154 generation = null; 146 this.DialogResult = DialogResult.OK; 147 this.Close(); 155 CloseDialog(); 148 156 }, TaskContinuationOptions.OnlyOnRanToCompletion); 149 157 generation.ContinueWith(t => {
Note: See TracChangeset
for help on using the changeset viewer.