示例#1
0
 internal void AddElementAtMouse(LayerFlowElement lfe)
 {
     lfe.X = (int)(this.m_LastContextMenuOpenLocation.X / this.Zoom);
     lfe.Y = (int)(this.m_LastContextMenuOpenLocation.Y / this.Zoom);
     this.Elements.Add(lfe);
     this.Invalidate(lfe.InvalidatingRegion);
 }
示例#2
0
 public LayerFlowConnector(LayerFlowElement owner, string name, bool isInput, Layer layer)
     : base(owner, name, isInput)
 {
     this.m_LayerOwner = owner;
 }