Changeset 12694 for branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBoxPlotView.cs
- Timestamp:
- 07/09/15 13:07:30 (10 years ago)
- Location:
- branches/HeuristicLab.Problems.Orienteering
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.Orienteering
- Property svn:mergeinfo changed
-
Property
svn:global-ignores
set to
*.nuget
packages
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Optimization.Views
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/branches/HLScript/HeuristicLab.Optimization.Views merged eligible /stable/HeuristicLab.Optimization.Views merged eligible /trunk/sources/HeuristicLab.Optimization.Views merged eligible /branches/1721-RandomForestPersistence/HeuristicLab.Optimization.Views 10321-10322 /branches/Algorithms.GradientDescent/HeuristicLab.Optimization.Views 5516-5520 /branches/Benchmarking/sources/HeuristicLab.Optimization.Views 6917-7005 /branches/CloningRefactoring/HeuristicLab.Optimization.Views 4656-4721 /branches/CodeEditor/HeuristicLab.Optimization.Views 11700-11806 /branches/DataAnalysis Refactoring/HeuristicLab.Optimization.Views 5471-5808 /branches/DataAnalysis SolutionEnsembles/HeuristicLab.Optimization.Views 5815-6180 /branches/DataAnalysis/HeuristicLab.Optimization.Views 4458-4459,4462,4464 /branches/DataPreprocessing/HeuristicLab.Optimization.Views 10085-11101 /branches/GP.Grammar.Editor/HeuristicLab.Optimization.Views 6284-6795 /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.Optimization.Views 5060 /branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Optimization.Views 11570-12508 /branches/HeuristicLab.Problems.DataAnalysis.Trading/HeuristicLab.Optimization.Views 6123-9799 /branches/LogResidualEvaluator/HeuristicLab.Optimization.Views 10202-10483 /branches/NET40/sources/HeuristicLab.Optimization.Views 5138-5162 /branches/NSGA-II Changes/HeuristicLab.Optimization.Views 12033-12122 /branches/ParallelEngine/HeuristicLab.Optimization.Views 5175-5192 /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Optimization.Views 7568-7810 /branches/QAPAlgorithms/HeuristicLab.Optimization.Views 6350-6627 /branches/Restructure trunk solution/HeuristicLab.Optimization.Views 6828 /branches/RuntimeOptimizer/HeuristicLab.Optimization.Views 8943-9078 /branches/ScatterSearch (trunk integration)/HeuristicLab.Optimization.Views 7787-8333 /branches/SlaveShutdown/HeuristicLab.Optimization.Views 8944-8956 /branches/SpectralKernelForGaussianProcesses/HeuristicLab.Optimization.Views 10204-10479 /branches/SuccessProgressAnalysis/HeuristicLab.Optimization.Views 5370-5682 /branches/TimeLimitRunOptimizer/HeuristicLab.Optimization.Views 9438-12626 /branches/Trunk/HeuristicLab.Optimization.Views 6829-6865 /branches/UnloadJobs/HeuristicLab.Optimization.Views 9168-9215 /branches/VNS/HeuristicLab.Optimization.Views 5594-5752 /branches/histogram/HeuristicLab.Optimization.Views 5959-6341
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBoxPlotView.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.ComponentModel; 24 25 using System.Linq; 25 26 using System.Windows.Forms; … … 92 93 protected virtual void RegisterRunEvents(IEnumerable<IRun> runs) { 93 94 foreach (IRun run in runs) 94 run. Changed += new EventHandler(run_Changed);95 run.PropertyChanged += run_PropertyChanged; 95 96 } 96 97 protected virtual void DeregisterRunEvents(IEnumerable<IRun> runs) { 97 98 foreach (IRun run in runs) 98 run. Changed -= new EventHandler(run_Changed);99 run.PropertyChanged -= run_PropertyChanged; 99 100 } 100 101 … … 121 122 if (InvokeRequired) 122 123 Invoke(new EventHandler(Content_Reset), sender, e); 123 else {124 else if (!suppressUpdates) { 124 125 UpdateDataPoints(); 125 126 UpdateAxisLabels(); … … 133 134 } 134 135 } 135 private void run_ Changed(object sender,EventArgs e) {136 private void run_PropertyChanged(object sender, PropertyChangedEventArgs e) { 136 137 if (InvokeRequired) 137 this.Invoke( new EventHandler(run_Changed), sender, e);138 this.Invoke((Action<object, PropertyChangedEventArgs>)run_PropertyChanged, sender, e); 138 139 else if (!suppressUpdates) { 139 UpdateDataPoints(); 140 if (e.PropertyName == "Visible") 141 UpdateDataPoints(); 140 142 } 141 143 } … … 374 376 Axis yAxis = this.chart.ChartAreas[BoxPlotChartAreaName].AxisY; 375 377 int axisDimensionCount = Enum.GetNames(typeof(AxisDimension)).Count(); 376 //mkommend: combobox.SelectedIndex could not be used as this changes during ho overing over possible values378 //mkommend: combobox.SelectedIndex could not be used as this changes during hovering over possible values 377 379 var xSAxisSelectedIndex = xAxisValue == null ? 0 : xAxisComboBox.Items.IndexOf(xAxisValue); 378 380 var ySAxisSelectedIndex = yAxisValue == null ? 0 : xAxisComboBox.Items.IndexOf(yAxisValue); … … 451 453 } 452 454 455 public void SetXAxis(string axisName) { 456 xAxisComboBox.SelectedItem = axisName; 457 } 458 459 public void SetYAxis(string axisName) { 460 yAxisComboBox.SelectedItem = axisName; 461 } 453 462 } 454 463 }
Note: See TracChangeset
for help on using the changeset viewer.