Esempio n. 1
0
        static void Zadatak7()
        {
            DarkTheme  darkTheme  = new DarkTheme();
            LightTheme lightTheme = new LightTheme();

            ReminderNote note1 = new ReminderNote("buy milk lol", lightTheme);
            ReminderNote note2 = new ReminderNote("buy milk again lol", darkTheme);

            Notebook notebook = new Notebook(darkTheme);

            notebook.AddNote(note1, lightTheme);
            notebook.AddNote(note2);
            notebook.Display();
        }
Esempio n. 2
0
 private void ShowNotes()
 {
    Console.WriteLine(notebook.Display(1));
 }