예제 #1
0
        private void InitFileSystem()
        {
            treeView1.Nodes.Clear();
            FolderNode root = new FolderNode("root");

            foreach (var file in ArcFile.GetFileList())
            {
                string[] path = file.Split('/');
                ProcessFile(root, path, 0);
            }
            foreach (var file in ArcFile.GetStreamFileList())
            {
                string[] path = file.Split('/');
                ProcessFile(root, path, 0);
            }
            Root = new GuiNode(root);
            treeView1.Nodes.Add(Root);
        }