- Timestamp:
- 09/12/11 18:04:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administrator/3.3/Views/Common/UpdateControl.cs
r6734 r6743 40 40 if (imgBoxProgress.InvokeRequired) { 41 41 imgBoxProgress.Invoke(new MethodInvoker(() => imgBoxProgress.Visible = false)); 42 btnRefresh.Invoke(new MethodInvoker(() => btnRefresh.Enabled = true)); 42 43 } else { 43 44 imgBoxProgress.Visible = false; 45 btnRefresh.Enabled = true; 44 46 } 45 47 } … … 49 51 if (imgBoxProgress.InvokeRequired) { 50 52 imgBoxProgress.Invoke(new MethodInvoker(() => imgBoxProgress.Visible = true)); 53 btnRefresh.Invoke(new MethodInvoker(() => btnRefresh.Enabled = false)); 51 54 } else { 52 55 imgBoxProgress.Visible = true; 56 btnRefresh.Enabled = false; 53 57 } 54 58
Note: See TracChangeset
for help on using the changeset viewer.