/// <summary> /// Notify the DragGestureListener that a Drag and Drop initiating /// gesture has occurred. Then reset the state of the Recognizer. /// <P> </summary> /// <param name="dragAction"> The action initially selected by the users gesture </param> /// <param name="p"> The point (in Component coords) where the gesture originated </param> protected internal virtual void FireDragGestureRecognized(int dragAction, Point p) { lock (this) { try { if (DragGestureListener != null) { DragGestureListener.DragGestureRecognized(new DragGestureEvent(this, dragAction, p, Events)); } } finally { Events.Clear(); } } }