public FileWriter() { filesManager = new FilesManager(); programsFile = filesManager.programsFile; idFile = filesManager.idFile; }
public int getID() { filesManager = new FilesManager(); idFile = filesManager.idFile; id = Int32.Parse(File.ReadAllText(idFile)); return(id); }