Esempio n. 1
0
        public void MoveNode(NodeAddress draggedNode, NodeAddress refNode)
        {
            NodeAddress parent = draggedNode.GetParent();

            if (parent.IsEqual(refNode.GetParent()))
            {
                TreeViewMappingElement tvme = GetElement(parent);
                tvme.MoveNode(draggedNode.GetLast(), refNode.GetLast());
            }
            if (parent.IsEqual(refNode))
            {
                TreeViewMappingElement tvme = GetElement(parent);
                tvme.MoveNode(draggedNode.GetLast());
            }
        }