Changeset 13912
- Timestamp:
- 06/17/16 14:26:42 (8 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 13813
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Optimizer
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Optimizer merged: 13813
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Optimizer/3.3/CreateExperimentDialog.cs
r13911 r13912 26 26 using System.Linq; 27 27 using System.Text; 28 using System.Threading;29 28 using System.Windows.Forms; 30 29 using HeuristicLab.Core; … … 64 63 65 64 private StringBuilder failedInstances; 66 private readonly EventWaitHandle backgroundWorkerWaitHandle = new ManualResetEvent(false);67 65 private bool suppressTreeViewEventHandling, suppressCheckAllNoneEventHandling; 68 66 … … 105 103 SetMode(DialogMode.CreatingExperiment); 106 104 experimentCreationBackgroundWorker.RunWorkerAsync(); 107 backgroundWorkerWaitHandle.WaitOne(); // make sure the background worker has started before exiting108 105 } 109 106 … … 767 764 #region Experiment creation 768 765 private void experimentCreationBackgroundWorker_DoWork(object sender, DoWorkEventArgs e) { 769 backgroundWorkerWaitHandle.Set(); // notify the ok button that we're busy now770 766 failedInstances = new StringBuilder(); 771 767 var localExperiment = new Experiment();
Note: See TracChangeset
for help on using the changeset viewer.