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

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