コード例 #1
0
        public void Drag_Leave()
        {
            FlashWindow.Stop(Main.Current);

            IDropTargetHelper _dropHelper = (IDropTargetHelper) new DragDropHelper();

            _dropHelper.DragLeave();
        }
コード例 #2
0
        public int DragLeave()
        {
            ResetDrop();
            if (dropTarget != null)
            {
                dropTarget.DragLeave();

                ReleaseCom();
                dropDataObject = IntPtr.Zero;
            }

            if (dropHelper != null)
            {
                dropHelper.DragLeave();
            }

            return(ShellAPI.S_OK);
        }
コード例 #3
0
        private void MFUDragLeave(object sender, EventArgs e)
        {
            IDropTargetHelper dropHelper = (IDropTargetHelper) new DragDropHelper();

            dropHelper.DragLeave();
        }
コード例 #4
0
    public static void ProcessDragLeave(EventArgs e)
    {
        IDropTargetHelper dropHelper = (IDropTargetHelper) new DragDropHelper();

        dropHelper.DragLeave();
    }
コード例 #5
0
        protected void control_OnDragLeave(object sender, EventArgs e)
        {
            IDropTargetHelper dropHelper = (IDropTargetHelper) new DragDropHelper();

            dropHelper.DragLeave();
        }
コード例 #6
0
ファイル: DragDropLib.cs プロジェクト: gouming/BetterExplorer
 /// <summary>
 /// Notifies the DragDropHelper that the current Control received
 /// a DragLeave event.
 /// </summary>
 public static void DragLeave()
 {
     s_instance.DragLeave();
 }
コード例 #7
0
 /// <summary>
 /// Notifies the DragDropHelper that the current Window received
 /// a DragLeave event.
 /// </summary>
 public static void DragLeave()
 {
     SInstance.DragLeave();
 }
コード例 #8
0
        protected override void OnDragLeave(DragEventArgs e)
        {
            IDropTargetHelper dropHelper = (IDropTargetHelper) new DragDropHelper();

            dropHelper.DragLeave();
        }
コード例 #9
0
 protected virtual void OnDragLeave(DragEventArgs e, FrameworkElement element)
 {
     _DropTargetHelper.DragLeave();
 }
コード例 #10
0
 /// <summary>
 /// Destroy the Drag Icon visual
 /// </summary>
 public void Destroy()
 {
     DDHelper.DragLeave();
     Mouse.OverrideCursor = null;
 }