Exemplo n.º 1
0
        public LinkView(ref NodeView beginNodeView, ref NodeView endNodeView) : this()
        {
            SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.ResizeRedraw, true);

            SetAttachmentNodeViews(ref beginNodeView, ref endNodeView);
        }
Exemplo n.º 2
0
 public bool IsBetween(NodeView beginNodeView, NodeView endNodeView)
 {
     return(BeginNodeView.Equals(beginNodeView) && EndNodeView.Equals(endNodeView) ||
            BeginNodeView.Equals(endNodeView) && EndNodeView.Equals(beginNodeView));
 }