Esempio n. 1
0
        /// <summary>
        /// 加载MultTreeNode
        /// </summary>
        public static bool load_MultTreeNode(string path)
        {
            bool ok = false;

            /*******建立一个序列化工具*****/
            MultTree.SerializeTree.TreeViewDataAccess tr = new SerializeTree.TreeViewDataAccess(_Root);
            tr.LoadTreeViewData(path);

            ok = true;
            return(ok);
        }
Esempio n. 2
0
 /// <summary>
 /// 保存MultTreeNode
 /// </summary>
 /// <param name="path"></param>
 public static void save_MultTreeNode(string path)
 {
     MultTree.SerializeTree.TreeViewDataAccess tr = new SerializeTree.TreeViewDataAccess(_Root);
     tr.SaveTreeViewData(path);
 }