static void Main(string[] args) { TopicsManager directory = new TopicsManager(); NotesGenerator notes = new NotesGenerator(directory.GetDirectoryLocation("Notes")); notes.ChangeLocation(directory.GetDirectoryLocation("Main")); notes.AddNote(); Console.Read(); }
public bool ChangeTopic(string topic) { try { string path = loadNotes.GetDirectoryLocation(topic); notesGenerator.ChangeLocation(path); return(true); } catch (Exception) { return(false); } }
public Engin() { loadNotes = new TopicsManager(); notesGenerator = new NotesGenerator(loadNotes.GetDirectoryLocation("Notes")); }