Changeset 5287 for trunk/sources/HeuristicLab.Core.Views/3.3
- Timestamp:
- 01/12/11 09:13:15 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Core.Views/3.3
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/Clipboard.Designer.cs
r5237 r5287 120 120 // 121 121 this.sortDescendingButton.Enabled = false; 122 this.sortDescendingButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.SortUp;122 this.sortDescendingButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.SortUp; 123 123 this.sortDescendingButton.Location = new System.Drawing.Point(30, 0); 124 124 this.sortDescendingButton.Name = "sortDescendingButton"; … … 132 132 // 133 133 this.sortAscendingButton.Enabled = false; 134 this.sortAscendingButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Sort;134 this.sortAscendingButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Sort; 135 135 this.sortAscendingButton.Location = new System.Drawing.Point(60, 0); 136 136 this.sortAscendingButton.Name = "sortAscendingButton"; … … 144 144 // 145 145 this.removeButton.Enabled = false; 146 this.removeButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Remove;146 this.removeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Remove; 147 147 this.removeButton.Location = new System.Drawing.Point(90, 0); 148 148 this.removeButton.Name = "removeButton"; … … 155 155 // addButton 156 156 // 157 this.addButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Add;157 this.addButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Add; 158 158 this.addButton.Location = new System.Drawing.Point(0, 0); 159 159 this.addButton.Name = "addButton"; … … 166 166 // saveButton 167 167 // 168 this.saveButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Save;168 this.saveButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save; 169 169 this.saveButton.Location = new System.Drawing.Point(120, 0); 170 170 this.saveButton.Name = "saveButton"; -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.Designer.cs
r5237 r5287 20 20 #endregion 21 21 22 using System;23 22 using System.Windows.Forms; 24 23 … … 84 83 // 85 84 this.addButton.Enabled = false; 86 this.addButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Add;85 this.addButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Add; 87 86 this.addButton.Location = new System.Drawing.Point(3, 3); 88 87 this.addButton.Name = "addButton"; … … 96 95 // 97 96 this.moveUpButton.Enabled = false; 98 this.moveUpButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.ArrowUp;97 this.moveUpButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.ArrowUp; 99 98 this.moveUpButton.Location = new System.Drawing.Point(33, 3); 100 99 this.moveUpButton.Name = "moveUpButton"; … … 108 107 // 109 108 this.removeButton.Enabled = false; 110 this.removeButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Remove;109 this.removeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Remove; 111 110 this.removeButton.Location = new System.Drawing.Point(93, 3); 112 111 this.removeButton.Name = "removeButton"; … … 120 119 // 121 120 this.moveDownButton.Enabled = false; 122 this.moveDownButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.ArrowDown;121 this.moveDownButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.ArrowDown; 123 122 this.moveDownButton.Location = new System.Drawing.Point(63, 3); 124 123 this.moveDownButton.Name = "moveDownButton"; … … 204 203 this.showDetailsCheckBox.Checked = true; 205 204 this.showDetailsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; 206 this.showDetailsCheckBox.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Properties;205 this.showDetailsCheckBox.Image = HeuristicLab.Common.Resources.VSImageLibrary.Properties; 207 206 this.showDetailsCheckBox.Location = new System.Drawing.Point(123, 3); 208 207 this.showDetailsCheckBox.Name = "showDetailsCheckBox"; -
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 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.Designer.cs
r5237 r5287 116 116 // 117 117 this.sortDescendingButton.Enabled = false; 118 this.sortDescendingButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.SortUp;118 this.sortDescendingButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.SortUp; 119 119 this.sortDescendingButton.Location = new System.Drawing.Point(33, 3); 120 120 this.sortDescendingButton.Name = "sortDescendingButton"; … … 128 128 // 129 129 this.sortAscendingButton.Enabled = false; 130 this.sortAscendingButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Sort;130 this.sortAscendingButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Sort; 131 131 this.sortAscendingButton.Location = new System.Drawing.Point(63, 3); 132 132 this.sortAscendingButton.Name = "sortAscendingButton"; … … 140 140 // 141 141 this.removeButton.Enabled = false; 142 this.removeButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Remove;142 this.removeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Remove; 143 143 this.removeButton.Location = new System.Drawing.Point(93, 3); 144 144 this.removeButton.Name = "removeButton"; … … 151 151 // addButton 152 152 // 153 this.addButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Add;153 this.addButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Add; 154 154 this.addButton.Location = new System.Drawing.Point(3, 3); 155 155 this.addButton.Name = "addButton"; … … 203 203 this.showDetailsCheckBox.Checked = true; 204 204 this.showDetailsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; 205 this.showDetailsCheckBox.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Properties;205 this.showDetailsCheckBox.Image = HeuristicLab.Common.Resources.VSImageLibrary.Properties; 206 206 this.showDetailsCheckBox.Location = new System.Drawing.Point(123, 3); 207 207 this.showDetailsCheckBox.Name = "showDetailsCheckBox"; -
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 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.Designer.cs
r5237 r5287 20 20 #endregion 21 21 22 using System;23 22 using System.Windows.Forms; 24 23 … … 86 85 this.showDetailsCheckBox.Checked = true; 87 86 this.showDetailsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; 88 this.showDetailsCheckBox.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Properties;87 this.showDetailsCheckBox.Image = HeuristicLab.Common.Resources.VSImageLibrary.Properties; 89 88 this.showDetailsCheckBox.Location = new System.Drawing.Point(123, 3); 90 89 this.showDetailsCheckBox.Name = "showDetailsCheckBox"; … … 98 97 // 99 98 this.removeButton.Enabled = false; 100 this.removeButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Remove;99 this.removeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Remove; 101 100 this.removeButton.Location = new System.Drawing.Point(93, 3); 102 101 this.removeButton.Name = "removeButton"; … … 110 109 // 111 110 this.moveUpButton.Enabled = false; 112 this.moveUpButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.ArrowUp;111 this.moveUpButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.ArrowUp; 113 112 this.moveUpButton.Location = new System.Drawing.Point(33, 3); 114 113 this.moveUpButton.Name = "moveUpButton"; … … 122 121 // 123 122 this.moveDownButton.Enabled = false; 124 this.moveDownButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.ArrowDown;123 this.moveDownButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.ArrowDown; 125 124 this.moveDownButton.Location = new System.Drawing.Point(63, 3); 126 125 this.moveDownButton.Name = "moveDownButton"; … … 165 164 // addButton 166 165 // 167 this.addButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Add;166 this.addButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Add; 168 167 this.addButton.Location = new System.Drawing.Point(3, 3); 169 168 this.addButton.Name = "addButton"; -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs
r5239 r5287 142 142 try { 143 143 return (T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 144 } 145 catch (Exception ex) { 144 } catch (Exception ex) { 146 145 ErrorHandling.ShowErrorDialog(this, ex); 147 146 } … … 153 152 if (item == null) { 154 153 listViewItem.Text = "null"; 155 itemsListView.SmallImageList.Images.Add(HeuristicLab.Common.Resources.VS 2008ImageLibrary.Nothing);154 itemsListView.SmallImageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.Nothing); 156 155 listViewItem.ImageIndex = itemsListView.SmallImageList.Images.Count - 1; 157 156 } else { … … 200 199 T item = listViewItem.Tag as T; 201 200 int i = listViewItem.ImageIndex; 202 listViewItem.ImageList.Images[i] = item == null ? HeuristicLab.Common.Resources.VS 2008ImageLibrary.Nothing : item.ItemImage;201 listViewItem.ImageList.Images[i] = item == null ? HeuristicLab.Common.Resources.VSImageLibrary.Nothing : item.ItemImage; 203 202 listViewItem.ImageIndex = -1; 204 203 listViewItem.ImageIndex = i; … … 462 461 foreach (ListViewItem listViewItem in itemsListView.Items) { 463 462 T item = listViewItem.Tag as T; 464 itemsListView.SmallImageList.Images.Add(item == null ? HeuristicLab.Common.Resources.VS 2008ImageLibrary.Nothing : item.ItemImage);463 itemsListView.SmallImageList.Images.Add(item == null ? HeuristicLab.Common.Resources.VSImageLibrary.Nothing : item.ItemImage); 465 464 listViewItem.ImageIndex = itemsListView.SmallImageList.Images.Count - 1; 466 465 } -
trunk/sources/HeuristicLab.Core.Views/3.3/MovieView.Designer.cs
r4715 r5287 117 117 // 118 118 this.stopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 119 this.stopButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Stop;119 this.stopButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Stop; 120 120 this.stopButton.Location = new System.Drawing.Point(36, 355); 121 121 this.stopButton.Name = "stopButton"; … … 129 129 // 130 130 this.nextButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 131 this.nextButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.MoveNext;131 this.nextButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.MoveNext; 132 132 this.nextButton.Location = new System.Drawing.Point(472, 325); 133 133 this.nextButton.Name = "nextButton"; … … 140 140 // 141 141 this.lastButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 142 this.lastButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.MoveLast;142 this.lastButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.MoveLast; 143 143 this.lastButton.Location = new System.Drawing.Point(502, 325); 144 144 this.lastButton.Name = "lastButton"; … … 152 152 // 153 153 this.playButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 154 this.playButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Play;154 this.playButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play; 155 155 this.playButton.Location = new System.Drawing.Point(6, 355); 156 156 this.playButton.Name = "playButton"; … … 164 164 // 165 165 this.previousButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 166 this.previousButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.MovePrevious;166 this.previousButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.MovePrevious; 167 167 this.previousButton.Location = new System.Drawing.Point(36, 325); 168 168 this.previousButton.Name = "previousButton"; … … 175 175 // 176 176 this.firstButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 177 this.firstButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.MoveFirst;177 this.firstButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.MoveFirst; 178 178 this.firstButton.Location = new System.Drawing.Point(6, 325); 179 179 this.firstButton.Name = "firstButton"; -
trunk/sources/HeuristicLab.Core.Views/3.3/OperatorTreeView.cs
r5237 r5287 113 113 node.Text += "-"; 114 114 node.ToolTipText = ""; 115 graphTreeView.ImageList.Images.Add(HeuristicLab.Common.Resources.VS 2008ImageLibrary.Nothing);115 graphTreeView.ImageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.Nothing); 116 116 node.ImageIndex = graphTreeView.ImageList.Images.Count - 1; 117 117 node.SelectedImageIndex = node.ImageIndex; -
trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.Designer.cs
r5237 r5287 135 135 // searchLabel 136 136 // 137 this.searchLabel.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Zoom;137 this.searchLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Zoom; 138 138 this.searchLabel.Location = new System.Drawing.Point(3, 3); 139 139 this.searchLabel.Name = "searchLabel"; … … 171 171 this.setTypeParameterButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 172 172 this.setTypeParameterButton.Enabled = false; 173 this.setTypeParameterButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Edit;173 this.setTypeParameterButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Edit; 174 174 this.setTypeParameterButton.Location = new System.Drawing.Point(189, 19); 175 175 this.setTypeParameterButton.Name = "setTypeParameterButton"; -
trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.cs
r5237 r5287 99 99 treeNodes.Clear(); 100 100 imageList.Images.Clear(); 101 imageList.Images.Add(HeuristicLab.Common.Resources.VS 2008ImageLibrary.Class); // default icon102 imageList.Images.Add(HeuristicLab.Common.Resources.VS 2008ImageLibrary.Namespace); // plugins103 imageList.Images.Add(HeuristicLab.Common.Resources.VS 2008ImageLibrary.Interface); // interfaces104 imageList.Images.Add(HeuristicLab.Common.Resources.VS 2008ImageLibrary.Template); // generic types101 imageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.Class); // default icon 102 imageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.Namespace); // plugins 103 imageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.Interface); // interfaces 104 imageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.Template); // generic types 105 105 106 106 var plugins = from p in ApplicationManager.Manager.Plugins … … 137 137 imageList.Images.Add(type.FullName, item.ItemImage); 138 138 typeNode.ImageIndex = imageList.Images.IndexOfKey(type.FullName); 139 } 140 catch (Exception) { } 139 } catch (Exception) { } 141 140 } 142 141 typeNode.SelectedImageIndex = typeNode.ImageIndex; -
trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.Designer.cs
r5237 r5287 117 117 // clearValueButton 118 118 // 119 this.clearValueButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Remove;119 this.clearValueButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Remove; 120 120 this.clearValueButton.Location = new System.Drawing.Point(36, 19); 121 121 this.clearValueButton.Name = "clearValueButton"; … … 128 128 // setValueButton 129 129 // 130 this.setValueButton.Image = HeuristicLab.Common.Resources.VS 2008ImageLibrary.Edit;130 this.setValueButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Edit; 131 131 this.setValueButton.Location = new System.Drawing.Point(6, 19); 132 132 this.setValueButton.Name = "setValueButton";
Note: See TracChangeset
for help on using the changeset viewer.