Changeset 13752 for branches/PerformanceComparison/HeuristicLab.OptimizationExpertSystem/3.3/Views/UnderstandingProblemInstanceView.cs
- Timestamp:
- 04/12/16 13:28:23 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PerformanceComparison/HeuristicLab.OptimizationExpertSystem/3.3/Views/UnderstandingProblemInstanceView.cs
r13751 r13752 20 20 #endregion 21 21 22 using HeuristicLab.Common.Resources; 22 23 using HeuristicLab.Core; 24 using HeuristicLab.Core.Views; 25 using HeuristicLab.Data; 23 26 using HeuristicLab.MainForm; 24 27 using HeuristicLab.OptimizationExpertSystem.Common; … … 27 30 using System.Linq; 28 31 using System.Text.RegularExpressions; 32 using System.Windows.Forms; 29 33 using System.Windows.Forms.DataVisualization.Charting; 30 34 … … 34 38 public sealed partial class UnderstandingProblemInstanceView : KnowledgeCenterViewBase { 35 39 private bool SuppressEvents { get; set; } 36 40 private readonly CheckedItemListView<StringValue> characteristicsView; 41 37 42 public UnderstandingProblemInstanceView() { 38 43 InitializeComponent(); 44 showCharacteristicsCheckBox.Text = string.Empty; 45 showCharacteristicsCheckBox.Image = VSImageLibrary.Properties; 46 characteristicsView = new CheckedItemListView<StringValue>() { 47 Dock = DockStyle.Fill 48 }; 49 mapSplitContainer.Panel2.Controls.Add(characteristicsView); 39 50 } 40 51 … … 43 54 if (Content == null) { 44 55 problemInstancesView.Content = null; 56 characteristicsView.Content = null; 45 57 instanceMapChart.Series["InstancesSeries"].Points.Clear(); 46 58 instanceMapChart.Series["CurrentInstanceSeries"].Points.Clear(); 47 59 } else { 48 60 problemInstancesView.Content = Content.ProblemInstances; 61 characteristicsView.Content = Content.ProblemCharacteristics; 49 62 UpdateProjectionComboBox(); 50 63 UpdateSizeComboBox(); … … 175 188 UpdateProjection(); 176 189 } 190 191 private void showCharacteristicsCheckBox_CheckedChanged(object sender, EventArgs e) { 192 mapSplitContainer.Panel2Collapsed = !showCharacteristicsCheckBox.Checked; 193 } 177 194 #endregion 178 195 }
Note: See TracChangeset
for help on using the changeset viewer.