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(); }
public static void Zadatak6() { Console.WriteLine("Zadatak 6:"); GroupNote noteGroup = new GroupNote("Rijesit ispit na loomenu", new LightTheme()); noteGroup.AddUser("Marino"); noteGroup.AddUser("Marin"); noteGroup.AddUser("Mari"); noteGroup.Show(); GroupNote noteGroup2 = new GroupNote("Rijesit ispit na loomenu u vremenu druge grupe", new PurpleTheme()); noteGroup2.AddUser("Mar"); noteGroup2.AddUser("Ma"); noteGroup2.AddUser("M"); noteGroup2.Show(); Console.WriteLine("\n*****************************\n"); }