- Timestamp:
- 01/12/11 09:13:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.cs
r5239 r5287 139 139 try { 140 140 return (T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 141 } 142 catch (Exception ex) { 141 } catch (Exception ex) { 143 142 ErrorHandling.ShowErrorDialog(this, ex); 144 143 } … … 150 149 if (item == null) { 151 150 listViewItem.Text = "null"; 152 itemsListView.SmallImageList.Images.Add(HeuristicLab.Common.Resources.VS 2008ImageLibrary.Nothing);151 itemsListView.SmallImageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.Nothing); 153 152 listViewItem.ImageIndex = itemsListView.SmallImageList.Images.Count - 1; 154 153 } else { … … 197 196 T item = listViewItem.Tag as T; 198 197 int i = listViewItem.ImageIndex; 199 listViewItem.ImageList.Images[i] = item == null ? HeuristicLab.Common.Resources.VS 2008ImageLibrary.Nothing : item.ItemImage;198 listViewItem.ImageList.Images[i] = item == null ? HeuristicLab.Common.Resources.VSImageLibrary.Nothing : item.ItemImage; 200 199 listViewItem.ImageIndex = -1; 201 200 listViewItem.ImageIndex = i; … … 445 444 foreach (ListViewItem listViewItem in itemsListView.Items) { 446 445 T item = listViewItem.Tag as T; 447 itemsListView.SmallImageList.Images.Add(item == null ? HeuristicLab.Common.Resources.VS 2008ImageLibrary.Nothing : item.ItemImage);446 itemsListView.SmallImageList.Images.Add(item == null ? HeuristicLab.Common.Resources.VSImageLibrary.Nothing : item.ItemImage); 448 447 listViewItem.ImageIndex = itemsListView.SmallImageList.Images.Count - 1; 449 448 }
Note: See TracChangeset
for help on using the changeset viewer.