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); }
public LayerFlowConnector(LayerFlowElement owner, string name, bool isInput, Layer layer) : base(owner, name, isInput) { this.m_LayerOwner = owner; }