void IDropTarget.Drop(HtmlMouseEvent e, DropEffects dropEffect)
 {
     try
     {
         base.Drop(e);
         ListItemsDropUtility.Drop(source, targetFolder != null ? targetFolder : itemsPane.Data.FolderItems.ParentFolder);
     }
     catch (Exception ex)
     {
         LazyWindow.ShowError(ex);
     }
 }
Пример #2
0
        void IDropTarget.Drop(HtmlMouseEvent e, DropEffects dropEffect)
        {
            TreeViewHit hit = base.Drop(e);

            if (Feedback != FeedbackMode.None)
            {
                try
                {
                    object   node = hit.Nodes.List[hit.Index];
                    ListNode list = node as ListNode;
                    ListItemsDropUtility.Drop(listItems, list != null ? list.RootFolder : node as Folder);
                }
                catch (Exception ex)
                {
                    LazyWindow.ShowError(ex);
                }
            }
        }