- Timestamp:
- 11/17/10 12:15:58 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.cs
r4261 r4826 129 129 imageList.Images.Add(type.FullName, item.ItemImage); 130 130 typeNode.ImageIndex = imageList.Images.IndexOfKey(type.FullName); 131 } 132 catch (Exception) { } 131 } catch (Exception) { } 133 132 } 134 133 typeNode.SelectedImageIndex = typeNode.ImageIndex; … … 154 153 else { 155 154 searchString = searchString.ToLower(); 156 typesTreeView.BeginUpdate(); 155 157 156 if (!searchString.Contains(currentSearchString)) { 157 typesTreeView.BeginUpdate(); 158 158 // expand search -> restore all tree nodes 159 159 TreeNode selectedNode = typesTreeView.SelectedNode; … … 162 162 typesTreeView.Nodes.Add((TreeNode)node.Clone()); 163 163 RestoreSelectedNode(selectedNode); 164 } 164 typesTreeView.EndUpdate(); 165 } 166 165 167 166 168 // remove nodes 169 typesTreeView.BeginUpdate(); 167 170 int i = 0; 168 171 while (i < typesTreeView.Nodes.Count) {
Note: See TracChangeset
for help on using the changeset viewer.