コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public override bool Equals(object obj)
        {
            if (!(obj is DockingGuideHitTest))
            {
                return(false);
            }
            DockingGuideHitTest other = (DockingGuideHitTest)obj;

            return(this.GuidePosition == other.GuidePosition && this.DockPosition == other.DockPosition);
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DragDropHitTestEventArgs">DragDropHitTestEventArgs</see> class.
 /// </summary>
 /// <param name="dropTarget"></param>
 /// <param name="hitTest"></param>
 public DragDropHitTestEventArgs(SplitPanel dropTarget, DockingGuideHitTest hitTest)
 {
     this.hitTest    = hitTest;
     this.dropTarget = dropTarget;
 }