Changeset 7078
- Timestamp:
- 11/26/11 22:00:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs
r7068 r7078 71 71 72 72 void item_ItemImageChanged(object sender, EventArgs e) { 73 RefreshableJob job = sender as RefreshableJob; 74 if (job != null) { 75 foreach (ListViewItem item in this.itemsListView.Items) { 76 if (item.Tag != null) { 77 RefreshableJob cur = item.Tag as RefreshableJob; 78 if (cur != null && cur == job) { 79 this.UpdateListViewItemImage(item); 73 if (this.itemsListView.InvokeRequired) { 74 Invoke(new EventHandler(item_ItemImageChanged), sender, e); 75 } else { 76 RefreshableJob job = sender as RefreshableJob; 77 if (job != null) { 78 foreach (ListViewItem item in this.itemsListView.Items) { 79 if (item.Tag != null) 80 { 81 RefreshableJob cur = item.Tag as RefreshableJob; 82 if (cur != null && cur == job) 83 { 84 this.UpdateListViewItemImage(item); 85 } 86 } 80 87 } 81 } 82 } 88 } 83 89 } 84 90 }
Note: See TracChangeset
for help on using the changeset viewer.