- Timestamp:
- 01/08/18 12:45:15 (7 years ago)
- Location:
- branches/HiveProjectManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveProjectManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews/LightweightUserView.cs
r14185 r15580 59 59 base.SetEnabledStateOfControls(); 60 60 this.showDetailsCheckBox.Enabled = false; 61 bool enabled = Content != null && !Locked; 62 addButton.Enabled = enabled; 63 removeButton.Enabled = enabled; 64 moveDownButton.Enabled = enabled; 65 moveUpButton.Enabled = enabled; 61 66 } 62 67 -
branches/HiveProjectManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews/RefreshableLightweightUserView.cs
r14185 r15580 58 58 } 59 59 60 protected override void SetEnabledStateOfControls() { 61 base.SetEnabledStateOfControls(); 62 refreshButton.Enabled = FetchSelectedUsers != null && Content != null; 63 lightweightUserView.Locked = Locked; 64 } 65 60 66 protected override void RefreshData() { 61 67 Action completeRefreshAction = new Action(delegate { … … 79 85 if (lightweightUserView.Content != null) OnStorableStateChanged(); 80 86 } 81 }82 83 protected override void SetEnabledStateOfControls() {84 base.SetEnabledStateOfControls();85 refreshButton.Enabled = FetchSelectedUsers != null && Content != null;86 87 } 87 88
Note: See TracChangeset
for help on using the changeset viewer.