示例#1
0
        public static Project CreateProject(string filePath, ZTreeView treeView)
        {
            Project project = new Project(filePath);
            project.LoadXml();
            project.app = Load(project.xmlDoc, treeView);             

            return project;
        }
示例#2
0
        public static Project CreateProject(string filePath, ZTreeView treeView, CodeGenerator codeGen)
        {
            Project project = new Project(filePath);
            project.LoadXml();
            project.BuildApplication(codeGen);
            if (treeView != null) project.FillTreeView(treeView);

            return project;
        }