Changeset 5819 for trunk/sources
- Timestamp:
- 03/23/11 14:41:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/ResultCollectionView.cs
r5445 r5819 20 20 #endregion 21 21 22 using System; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Core.Views; … … 45 46 return null; 46 47 } 48 49 protected override void itemsListView_SelectedIndexChanged(object sender, EventArgs e) { 50 AdjustListViewColumnSizes(); 51 if (showDetailsCheckBox.Checked) { 52 if (itemsListView.SelectedItems.Count == 1) { 53 IResult result = (IResult)itemsListView.SelectedItems[0].Tag; 54 detailsGroupBox.Enabled = true; 55 viewHost.Content = result.Value; 56 } else { 57 viewHost.Content = null; 58 detailsGroupBox.Enabled = false; 59 } 60 } 61 } 47 62 } 48 63 }
Note: See TracChangeset
for help on using the changeset viewer.