Changeset 1792


Ignore:
Timestamp:
Aug 9, 2010, 10:49:14 PM (11 years ago)
Author:
kopal
Message:
  • icons will now be updated durin execute of ExecutionEngine
  • right click on a CryptoLine will delete it
Location:
trunk/CrypPlugins/WorkspaceManager/View
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/View/Container/PluginContainerView.xaml.cs

    r1791 r1792  
    457457            }
    458458           
    459             if (this.Model.Minimized == null || this.Model.Minimized == true)
    460             {
     459            if (this.Model.Minimized == true)
     460            {
     461                this.Icon = this.model.getImage();
     462                this.Icon.Width = 40;
     463                this.Icon.Height = 40;
    461464                this.PresentationPanel.Child = this.Icon;
    462465            }
  • trunk/CrypPlugins/WorkspaceManager/View/VisualComponents/CryptoLineView/CryptoLineView.cs

    r1760 r1792  
    7676                line.InvalidateVisual();
    7777            }
     78        }
     79
     80        protected override void OnMouseDown(MouseButtonEventArgs args)
     81        {
     82            if (args.RightButton == MouseButtonState.Pressed)
     83            {
     84                this.model.WorkspaceModel.deleteConnectionModel(this.model);
     85            }           
    7886        }
    7987
Note: See TracChangeset for help on using the changeset viewer.