Пример #1
0
 public ProgectReader(String path)
 {
     utiliti             = UtilitiManager.GetInstance();
     currentProgect      = new Progect();
     currentProgect.path = path;
     currentProgect.name = utiliti.dm.GetDirectoryName(path);
 }
Пример #2
0
        public Progect CreateProgect(String newName, String newPath)
        {
            Progect newProgect = new Progect();

            newProgect.name = newName;
            newProgect.path = UtilitiManager.GetInstance().ConbinePaths(newPath, newName);
            UtilitiManager.GetInstance().dm.CreateDirectory(newProgect.path);
            return(newProgect);
        }