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

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