示例#1
0
        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();
        }
示例#2
0
        public bool ChangeTopic(string topic)
        {
            try
            {
                string path = loadNotes.GetDirectoryLocation(topic);

                notesGenerator.ChangeLocation(path);

                return(true);
            }
            catch (Exception)
            {
                return(false);
            }
        }
示例#3
0
        public Engin()
        {
            loadNotes = new TopicsManager();

            notesGenerator = new NotesGenerator(loadNotes.GetDirectoryLocation("Notes"));
        }