Example #1
0
 private void __mouseUp(object obj)
 {
     if (sDragging != null)
     {
         stopDrag();
         _owner.DispatchEventObsolete(new DragEvent(DragEvent.DRAG_END));
     }
 }
Example #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);
            }
        }