Changeset 4099
- Timestamp:
- 07/25/10 01:11:47 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.cs
r4096 r4099 120 120 !Content.IsReadOnly && !ReadOnly; 121 121 itemsListView.Enabled = true; 122 detailsGroupBox.Enabled = true;122 detailsGroupBox.Enabled = itemsListView.SelectedItems.Count == 1; 123 123 } 124 124 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r4096 r4099 88 88 removeButton.Enabled = !Content.IsReadOnly && !ReadOnly && itemsListView.SelectedItems.Count > 0; 89 89 itemsListView.Enabled = true; 90 detailsGroupBox.Enabled = true;90 detailsGroupBox.Enabled = itemsListView.SelectedItems.Count == 1; 91 91 } 92 92 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs
r4096 r4099 123 123 !Content.IsReadOnly && !ReadOnly; 124 124 itemsListView.Enabled = true; 125 detailsGroupBox.Enabled = true;125 detailsGroupBox.Enabled = itemsListView.SelectedItems.Count == 1; 126 126 } 127 127 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionView.cs
r4096 r4099 136 136 runCollectionConstraintCollectionView.ReadOnly = itemsListView.Items.Count == 0; 137 137 itemsListView.Enabled = true; 138 detailsGroupBox.Enabled = true;138 detailsGroupBox.Enabled = itemsListView.SelectedItems.Count == 1; 139 139 removeButton.Enabled = itemsListView.SelectedItems.Count > 0 && !Content.IsReadOnly && !ReadOnly; 140 140 clearButton.Enabled = itemsListView.Items.Count > 0 && !Content.IsReadOnly && !ReadOnly; -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunView.cs
r4096 r4099 77 77 base.SetEnabledStateOfControls(); 78 78 listView.Enabled = Content != null; 79 detailsGroupBox.Enabled = (Content != null) && (listView.SelectedItems.Count == 1); 79 80 viewHost.Enabled = Content != null; 80 81 changeColorButton.Enabled = Content != null;
Note: See TracChangeset
for help on using the changeset viewer.