title: C# WinForms - DragDrop within the same TreeViewControl
body: <p>I'm attempting to implement a DragDrop of a treeview item within the same control.</p>
  
  <p>I want to be able to move an item from 1 node to another.</p>
  
  <p>Here is my current code, When I run this I can see the item has started the drag but the windows icon will not allow it to be dropped to any nodes on the Control.</p>
  
  <p><strong>My current code</strong></p>
  
  <pre><code>private void treeView1_ItemDrag(object sender, ItemDragEventArgs e)
  {
      DoDragDrop(e.Item, DragDropEffects.Move);
  }
  
  private void treeView1_DragEnter(object sender, DragEventArgs e)
  {
      e.Effect = DragDropEffects.Move;
  }
  
  private void treeView1_DragDrop(object sender, DragEventArgs e)
  {
      if (e.Data.GetDataPresent(typeof(TreeNode)))
      {
          TreeNode sourceNode = e.Data.GetData(typeof(TreeView)) as TreeNode;
  
          var item = new TreeNode(sourceNode.Text);
  
  
          System.Drawing.Point pt = ((TreeView)sender).PointToClient(new System.Drawing.Point(e.X, e.Y));
          TreeNode DestinationNode = ((TreeView)sender).GetNodeAt(pt);
  
          DestinationNode.Nodes.Add(item);
          DestinationNode.Expand();
      }
  }
  </code></pre>