- Timestamp:
- 01/12/11 09:13:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r5239 r5287 128 128 try { 129 129 return (T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 130 } 131 catch (Exception ex) { 130 } catch (Exception ex) { 132 131 ErrorHandling.ShowErrorDialog(this, ex); 133 132 } … … 139 138 if (item == null) { 140 139 listViewItem.Text = "null"; 141 itemsListView.SmallImageList.Images.Add(HeuristicLab.Common.Resources.VS 2008ImageLibrary.Nothing);140 itemsListView.SmallImageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.Nothing); 142 141 listViewItem.ImageIndex = itemsListView.SmallImageList.Images.Count - 1; 143 142 } else { … … 179 178 T item = listViewItem.Tag as T; 180 179 int i = listViewItem.ImageIndex; 181 listViewItem.ImageList.Images[i] = item == null ? HeuristicLab.Common.Resources.VS 2008ImageLibrary.Nothing : item.ItemImage;180 listViewItem.ImageList.Images[i] = item == null ? HeuristicLab.Common.Resources.VSImageLibrary.Nothing : item.ItemImage; 182 181 listViewItem.ImageIndex = -1; 183 182 listViewItem.ImageIndex = i; … … 383 382 foreach (ListViewItem listViewItem in itemsListView.Items) { 384 383 T item = listViewItem.Tag as T; 385 itemsListView.SmallImageList.Images.Add(item == null ? HeuristicLab.Common.Resources.VS 2008ImageLibrary.Nothing : item.ItemImage);384 itemsListView.SmallImageList.Images.Add(item == null ? HeuristicLab.Common.Resources.VSImageLibrary.Nothing : item.ItemImage); 386 385 listViewItem.ImageIndex = itemsListView.SmallImageList.Images.Count - 1; 387 386 }
Note: See TracChangeset
for help on using the changeset viewer.