Exemple #1
0
        public static void OpenProject(string projPath)
        {
            if (Directory.Exists(projPath))
            {
                Directory.SetCurrentDirectory(projPath);
            }
            else if (projPath != "")
            {
                return;
            }

            string[] manifest = File.ReadAllLines("manifest.ctproj");
            s_openProject = new CTProject();
            s_openProject.ReadManifest(manifest);
        }
Exemple #2
0
 public CTDocument(CTProject owner, string name)
 {
     Owner = owner;
     Name  = name;
     m_id  = new CTRef(this);
 }
Exemple #3
0
 public static void CreateProject()
 {
     s_openProject = new CTProject();
 }