Changeset 3344
- Timestamp:
- 04/14/10 10:09:49 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/GraphVisualizationInfo.cs
r3017 r3344 279 279 } 280 280 281 private void OperatorItemImageChanged(object sender, EventArgs e) { 282 IOperator op = (IOperator)sender; 283 IOperatorShapeInfo operatorShapeInfo = this.operatorShapeInfoMapping.GetByFirst(op); 284 operatorShapeInfo.Icon = new Bitmap(op.ItemImage); 285 } 286 281 287 private void OperatorNameChanged(object sender, EventArgs e) { 282 288 IOperator op = (IOperator)sender; … … 306 312 op.Parameters.CollectionReset += new CollectionItemsChangedEventHandler<IParameter>(Parameters_CollectionReset); 307 313 op.NameChanged += new EventHandler(OperatorNameChanged); 314 op.ItemImageChanged += new EventHandler(OperatorItemImageChanged); 308 315 op.BreakpointChanged += new EventHandler(OperatorBreakpointChanged); 309 316 } … … 315 322 op.Parameters.CollectionReset -= new CollectionItemsChangedEventHandler<IParameter>(Parameters_CollectionReset); 316 323 op.NameChanged -= new EventHandler(OperatorNameChanged); 324 op.ItemImageChanged -= new EventHandler(OperatorItemImageChanged); 317 325 op.BreakpointChanged -= new EventHandler(OperatorBreakpointChanged); 318 326 } -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/OperatorShape.cs
r3181 r3344 196 196 this.Children.Add(iconMaterial); 197 197 198 Bitmap expandBitmap = new Bitmap(HeuristicLab.Common.Resources.VS2008ImageLibrary. Redo);199 Bitmap collapseBitmap = new Bitmap(HeuristicLab.Common.Resources.VS2008ImageLibrary. Undo);198 Bitmap expandBitmap = new Bitmap(HeuristicLab.Common.Resources.VS2008ImageLibrary.Expand); 199 Bitmap collapseBitmap = new Bitmap(HeuristicLab.Common.Resources.VS2008ImageLibrary.Collapse); 200 200 this.expandIconMaterial = new ExpandableIconMaterial(expandBitmap, collapseBitmap); 201 201 this.expandIconMaterial.Gliding = false;
Note: See TracChangeset
for help on using the changeset viewer.