Exemple #1
0
        protected override bool OnDrop(Point point, IDataObject data)
        {
            if (DragHandler_Internal.GetDraggedObject().IfNotNull(o => OnDropInternal(point, o)))
            {
                DragHandler_Internal.ClearDraggedObject();
                return(true);
            }

            return(false);
        }
Exemple #2
0
 protected override bool OnLeave(Point point, IDataObject data)
 {
     return(DragHandler_Internal.GetDraggedObject().IfNotNull(o => OnLeaveInternal(point, o)));
 }