Example #1
0
        public static void Zadatak7()
        {
            Console.WriteLine("Zadatak 7:");
            Note      reminderNote = new ReminderNote("Dovrsiti LV iz RPPOON", new PurpleTheme());
            GroupNote noteGroup    = new GroupNote("Rijesit ispit na loomenu", new LightTheme());

            noteGroup.AddUser("Marino");
            noteGroup.AddUser("Marin");
            noteGroup.AddUser("Mari");
            GroupNote noteGroup2 = new GroupNote("Rijesit ispit na loomenu u vremenu druge grupe", new PurpleTheme());

            noteGroup2.AddUser("Mar");
            noteGroup2.AddUser("Ma");
            noteGroup2.AddUser("M");

            /*Notebook notebook = new Notebook();
             * notebook.AddNote(reminderNote,true);
             * notebook.AddNote(noteGroup, true);
             * notebook.AddNote(noteGroup2, true);
             * notebook.Display();
             * notebook.ChangeTheme(new PurpleTheme());
             * notebook.Display();*/

            Notebook notebook2 = new Notebook(new LightTheme());

            notebook2.AddNote(reminderNote);
            notebook2.AddNote(noteGroup);
            notebook2.AddNote(noteGroup2);
            notebook2.Display();

            Console.WriteLine("\n*****************************\n");
        }
Example #2
0
        static void Main(string[] args)
        {
            //Box MayBox = new Box("MyBox");
            //MayBox.Add(new Product("Rolex watch", 300, 3.7));
            //MayBox.Add(new Product("Pc graphics card", 50, 2.6));
            //Console.WriteLine(MayBox.Description());
            //Console.WriteLine("Price:" +MayBox.Price);
            //Console.WriteLine("Weight:" + MayBox.Weight);


            //ShippingService Shipper = new ShippingService(3);
            //Console.WriteLine(Shipper.ToString() + Shipper.Price(MayBox) + " $");

            //Dataset Data = new Dataset("TestdataCSV.txt");
            //User Me = User.GenerateUser("Stjepan");
            //ProtectionProxyDataset Myproxy = new ProtectionProxyDataset(Me);
            //VirtualProxyDataset Dataproxy = new VirtualProxyDataset("TestdataCSV.txt");
            //DataConsolePrinter printer = new DataConsolePrinter();
            //printer.Print(Myproxy);
            //Console.WriteLine();
            //printer.Print(Dataproxy);

            ITheme       theme1 = new LightTheme();
            ITheme       theme2 = new DarkTheme();
            ReminderNote note1  = new ReminderNote("RPPOON LV5 starts at 8.00 am", theme1);
            GroupNote    note2  = new GroupNote("Students for Lv", theme2);

            note2.InsertMember("Stjepan Prakljačić");
            note2.InsertMember("Student 21");
            note2.Show();
            Notebook notes = new Notebook(theme1);

            notes.AddNote(note1);
            notes.Display();
        }
Example #3
0
        public static void Zadatak5()
        {
            Console.WriteLine("Zadatak 5:");
            ReminderNote reminderNote = new ReminderNote("Dovrsiti LV iz RPPOON", new PurpleTheme());

            reminderNote.Show();
            Console.WriteLine("\n*****************************\n");
        }