Exemple #1
0
        public override void Delete(TreeNode treeNode)
        {
            String path = TreeNodeUtilities.GetFullPath(treeNode);

            m_persistanceManager.RemoveSetting(m_persistencyPath, path);
            treeNode.Remove();
        }
Exemple #2
0
        public override void Move(TreeNode node, TreeNode newParentNode)
        {
            String sourcePath = TreeNodeUtilities.GetFullPath(node);
            String targetPath = TreeNodeUtilities.GetFullPathJoined(newParentNode, node.Name);

            m_persistanceManager.MoveFolder(m_persistencyPath, sourcePath, targetPath);

            node.Remove();
            GetParentNodes(newParentNode).Add(node);
        }