Esempio n. 1
0
        /// <summary>
        /// This method calls <code>dragExit</code> on the
        /// <code>DragSourceListener</code>s registered with this
        /// <code>DragSource</code>, and passes them the specified
        /// <code>DragSourceEvent</code>.
        /// </summary>
        /// <param name="dse"> the <code>DragSourceEvent</code> </param>
        internal virtual void ProcessDragExit(DragSourceEvent dse)
        {
            DragSourceListener dsl = Listener;

            if (dsl != null)
            {
                dsl.DragExit(dse);
            }
        }
Esempio n. 2
0
        /// <summary>
        /// Calls <code>dragExit</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>DragSourceEvent</code>.
        /// </summary>
        /// <param name="dse"> the <code>DragSourceEvent</code> </param>
        public virtual void DragExit(DragSourceEvent dse)
        {
            DragSourceListener dsl = Listener;

            if (dsl != null)
            {
                dsl.DragExit(dse);
            }
            DragSource.ProcessDragExit(dse);

            UpdateCurrentCursor(DnDConstants.ACTION_NONE, DnDConstants.ACTION_NONE, DEFAULT);
        }