Changeset 14770
- Timestamp:
- 03/20/17 14:14:58 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/DataAnalysisSolutionView.cs
r14185 r14770 29 29 using HeuristicLab.MainForm; 30 30 using HeuristicLab.Optimization; 31 using HeuristicLab.Optimization.Views;32 31 using HeuristicLab.Persistence.Default.Xml; 33 32 using HeuristicLab.PluginInfrastructure; … … 97 96 } 98 97 99 protected override void itemsListView_DoubleClick(object sender, EventArgs e) {98 protected sealed override void itemsListView_DoubleClick(object sender, EventArgs e) { 100 99 if (itemsListView.SelectedItems.Count != 1) return; 101 100 … … 103 102 Type viewType = itemsListView.SelectedItems[0].Tag as Type; 104 103 if (result != null) { 105 IContentView view = MainFormManager.MainForm.ShowContent(result , typeof(ResultView));104 IContentView view = MainFormManager.MainForm.ShowContent(result.Value); 106 105 if (view != null) { 106 view.Caption = result.Name; 107 107 view.ReadOnly = ReadOnly; 108 108 view.Locked = Locked;
Note: See TracChangeset
for help on using the changeset viewer.