/// <summary> /// This method calls <code>dragOver</code> on the /// <code>DragSourceListener</code>s registered with this /// <code>DragSource</code>, and passes them the specified /// <code>DragSourceDragEvent</code>. /// </summary> /// <param name="dsde"> the <code>DragSourceDragEvent</code> </param> internal virtual void ProcessDragOver(DragSourceDragEvent dsde) { DragSourceListener dsl = Listener; if (dsl != null) { dsl.DragOver(dsde); } }
/// <summary> /// Calls <code>dragOver</code> on the /// <code>DragSourceListener</code>s registered with this /// <code>DragSourceContext</code> and with the associated /// <code>DragSource</code>, and passes them the specified /// <code>DragSourceDragEvent</code>. /// </summary> /// <param name="dsde"> the <code>DragSourceDragEvent</code> </param> public virtual void DragOver(DragSourceDragEvent dsde) { DragSourceListener dsl = Listener; if (dsl != null) { dsl.DragOver(dsde); } DragSource.ProcessDragOver(dsde); UpdateCurrentCursor(SourceActions, dsde.TargetActions, OVER); }