- Timestamp:
- 05/04/17 17:19:35 (7 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.Optimizer/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Optimizer/3.3/CreateExperimentDialog.cs
r14185 r14927 340 340 selectAllCheckBox.Checked = treeViewNodes.Count() == instances.SelectMany(x => x.Value).Count(); 341 341 selectNoneCheckBox.Checked = !treeViewNodes.Any(x => x.Checked); 342 } 343 finally { suppressCheckAllNoneEventHandling = false; } 342 } finally { suppressCheckAllNoneEventHandling = false; } 344 343 UpdateVariationsLabel(); 345 344 } … … 355 354 } 356 355 } 357 } 358 finally { suppressTreeViewEventHandling = false; } 356 } finally { suppressTreeViewEventHandling = false; } 359 357 } 360 358 … … 378 376 try { 379 377 node.Parent.Checked = allChecked; 380 } 381 finally { suppressTreeViewEventHandling = false; } 378 } finally { suppressTreeViewEventHandling = false; } 382 379 } 383 380 } … … 387 384 if (selectAllCheckBox.Checked) { 388 385 suppressCheckAllNoneEventHandling = true; 389 try { selectNoneCheckBox.Checked = false; } 390 finally { suppressCheckAllNoneEventHandling = false; } 386 try { selectNoneCheckBox.Checked = false; } finally { suppressCheckAllNoneEventHandling = false; } 391 387 try { 392 388 suppressTreeViewEventHandling = true; … … 397 393 } 398 394 } 399 } 400 finally { suppressTreeViewEventHandling = false; } 395 } finally { suppressTreeViewEventHandling = false; } 401 396 } 402 397 UpdateVariationsLabel(); … … 408 403 if (selectNoneCheckBox.Checked) { 409 404 suppressCheckAllNoneEventHandling = true; 410 try { selectAllCheckBox.Checked = false; } 411 finally { suppressCheckAllNoneEventHandling = false; } 405 try { selectAllCheckBox.Checked = false; } finally { suppressCheckAllNoneEventHandling = false; } 412 406 try { 413 407 suppressTreeViewEventHandling = true; … … 418 412 } 419 413 } 420 } 421 finally { suppressTreeViewEventHandling = false; } 414 } finally { suppressTreeViewEventHandling = false; } 422 415 } 423 416 UpdateVariationsLabel(); … … 752 745 } 753 746 selectNoneCheckBox.Checked = true; 754 } 755 catch { } 747 } catch { } 756 748 try { 757 749 SetMode(DialogMode.Normal); 758 750 if (e.Error != null) MessageBox.Show(e.Error.Message, "Error occurred", MessageBoxButtons.OK, MessageBoxIcon.Error); 759 } 760 catch { } 751 } catch { } 761 752 } 762 753 #endregion … … 772 763 try { 773 764 AddParameterVariations(Optimizer, localExperiment, ref counter, totalVariations); 774 } 775 catch (OperationCanceledException) { 765 } catch (OperationCanceledException) { 776 766 e.Cancel = true; 777 767 return; … … 785 775 try { 786 776 ProblemInstanceManager.LoadData(provider, descriptor, (IProblemInstanceConsumer)algorithm.Problem); 787 } 788 catch (Exception ex) { 777 } catch (Exception ex) { 789 778 failedInstances.AppendLine(descriptor.Name + ": " + ex.Message); 790 779 failed = true; … … 799 788 AddParameterVariations(algorithm, localExperiment, ref counter, totalVariations); 800 789 } 801 } 802 catch (OperationCanceledException) { 790 } catch (OperationCanceledException) { 803 791 e.Cancel = true; 804 792 return; … … 951 939 Close(); 952 940 } 953 } 954 catch { } 941 } catch { } 955 942 } 956 943 #endregion -
branches/PersistenceReintegration/HeuristicLab.Optimizer/3.3/HeuristicLab.Optimizer-3.3.csproj
r14926 r14927 304 304 <Private>False</Private> 305 305 </ProjectReference> 306 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj"> 307 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project> 308 <Name>HeuristicLab.Persistence-3.3</Name> 309 </ProjectReference> 306 310 <ProjectReference Include="..\..\HeuristicLab.Persistence\4.0\HeuristicLab.Persistence-4.0.csproj"> 307 311 <Project>{b1663091-8156-4deb-9e37-5b19810a4644}</Project>
Note: See TracChangeset
for help on using the changeset viewer.