示例#1
0
 private void __mouseUp(object obj)
 {
     if (sDragging != null)
     {
         stopDrag();
         _owner.DispatchEventObsolete(new DragEvent(DragEvent.DRAG_END));
     }
 }
示例#2
0
        private void __startDrag(object param)
        {
            reset();

            DragEvent evt = new DragEvent(DragEvent.DRAG_START);

            _owner.DispatchEventObsolete(evt);
            if (!evt.isDefaultPrevented)
            {
                _owner.StartDrag(_owner.dragBounds);
            }
        }