private void Paste()
        {
            if (!CanMove(cutNode, SelectedNode))
            {
                return;
            }

            if (cutNode is LeafTreeNode)
            {
                LeafPasteEventArgs ee = new LeafPasteEventArgs((cutNode as LeafTreeNode).Leaf, (SelectedNode as ContainerTreeNode).Container);
                OnLeafPaste(ee);
                if (!ee.Cancel)
                {
                    cutNode.Remove();
                    SelectedNode.Expand();
                    SelectedNode.Nodes.Add(cutNode);
                }
            }
            else
            {
                ContainerPasteEventArgs ee = new ContainerPasteEventArgs((cutNode as ContainerTreeNode).Container, (SelectedNode as ContainerTreeNode).Container);
                OnContainerPaste(ee);
                if (!ee.Cancel)
                {
                    cutNode.Remove();
                    SelectedNode.Expand();
                    SelectedNode.Nodes.Insert(0, cutNode);
                }
            }

            SelectedNode.Expand();
            SortBranch(SelectedNode as ContainerTreeNode);
            CancelCut();
        }
 protected void OnLeafPaste(LeafPasteEventArgs e)
 {
     if (LeafPasteClicked != null)
     {
         LeafPasteClicked(this, e);
     }
 }