Exemple #1
0
 internal void TriggerDropTargetLeft(DragSource source)
 {
     // Fire the drop target left event
     if (DropTargetLeft != null)
     {
         this.DropTargetLeft(this, new DropEventArgs(source));
     }
 }
Exemple #2
0
 internal void TriggerInternalDragSourceDropped(DragSource source)
 {
     // Fire the drop target entered event
     if (InternalDragSourceDropped != null)
     {
         this.InternalDragSourceDropped(this, new DropEventArgs(source));
     }
 }
Exemple #3
0
        internal void TriggerDragSourceDropped(DragSource source)
        {
            // double-check: remove all borders

            source.RemoveAllDropBorders();

            // Fire the drop target dropped event
            if (DragSourceDropped != null)
            {
                this.DragSourceDropped(this, new DropEventArgs(source));
            }
        }
Exemple #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="source"></param>
 public DropEventArgs(DragSource source)
 {
     DragSource = source;
 }