protected void DragDropEvent(object sender, DragEventArgs e) { try { IDragDropItem targetNode = null; IDragDropItem node = DragEventCommon(sender, e, ref targetNode); if (node != null) { Cursor save = Cursor.Current; Cursor.Current = Cursors.WaitCursor; node.DoDrop(targetNode); Cursor.Current = save; } else { // If we are not handling this, see of there is an // ancestor control that's interested IDropTarget con = FindAncestorDropControl(e); if (con != null) { con.DragDropEvent(sender, e); } } } catch (Exception ex) { TraceUtil.WriteLineWarning(this, "Exception in event handler: " + ex); } }