Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public CTDocument(CTProject owner, string name)
 {
     Owner = owner;
     Name  = name;
     m_id  = new CTRef(this);
 }
Ejemplo n.º 3
0
 public static void CreateProject()
 {
     s_openProject = new CTProject();
 }