public void SaltyCat() { Console.ForegroundColor = ConsoleColor.DarkYellow; string str = @" .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [0] Cestoviny s kuracΓmi prsiami Alfredo | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [1] PolesnΓky | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [2] KuracΓ perkelt so smotanou a haluΕ‘kami | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [3] Gyros s kuracΓm mΓ€som v tortille | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [4] CesnakovΓ‘ polievka | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [5] ZemiakovΓ© pirohy s mΓ€sovou plnkou | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ*"; Console.WriteLine(str); Console.ForegroundColor = ConsoleColor.DarkRed; string s = @" .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [S] SPΓΕ€ | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* "; Console.WriteLine(s); Console.ReadLine(); char button = Convert.ToChar(Console.Read()); string buttonString = button.ToString(); switch (buttonString) { case "s": case "S": { Console.Clear(); Console.WriteLine("SpΓ€Ε₯ do kategoriΓ"); ByCategory byCategory = new ByCategory(); byCategory.SearchCat(); break; } case "0": { Console.Clear(); Recipe1 recipe1 = new Recipe1(); recipe1.Recept1(); break; } case "1": { Console.Clear(); Recipe3 recipe3 = new Recipe3(); recipe3.Recept3(); break; } case "2": { Console.Clear(); Recipe4 recipe4 = new Recipe4(); recipe4.Recept4(); break; } case "3": { Console.Clear(); Recipe6 recipe6 = new Recipe6(); recipe6.Recept6(); break; } case "4": { Console.Clear(); Recipe8 recipe8 = new Recipe8(); recipe8.Recept8(); break; } case "5": { Console.Clear(); Recipe9 recipe9 = new Recipe9(); recipe9.Recept9(); break; } default: { Console.Clear(); Salty salty = new Salty(); salty.SaltyCat(); break; } } }
public void EasyCat() { Console.ForegroundColor = ConsoleColor.DarkCyan; string str = @" .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [0] Talianske tiramisu | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [1] PolesnΓky | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [2] BanΓ‘novΓ© lievance s ΔokolΓ‘dou | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [3] Gyros s kuracΓm mΓ€som v tortille | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [4] ΔokolΓ‘dovΓ© cookies | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [5] CesnakovΓ‘ polievka | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ*"; Console.WriteLine(str); Console.ForegroundColor = ConsoleColor.DarkRed; string s = @" .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [S] SPΓΕ€ | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* "; Console.WriteLine(s); Console.ReadLine(); char button = Convert.ToChar(Console.Read()); string buttonString = button.ToString(); switch (buttonString) { case "s": case "S": { Console.Clear(); Console.WriteLine("SpΓ€Ε₯ do kategoriΓ"); ByCategory byCategory = new ByCategory(); byCategory.SearchCat(); break; } case "0": { Console.Clear(); Recipe0 recipe0 = new Recipe0(); recipe0.Recept0(); break; } case "1": { Console.Clear(); Recipe3 recipe3 = new Recipe3(); recipe3.Recept3(); break; } case "2": { Console.Clear(); Recipe5 recipe5 = new Recipe5(); recipe5.Recept5(); break; } case "3": { Console.Clear(); Recipe6 recipe6 = new Recipe6(); recipe6.Recept6(); break; } case "4": { Console.Clear(); Recipe7 recipe7 = new Recipe7(); recipe7.Recept7(); break; } case "5": { Console.Clear(); Recipe8 recipe8 = new Recipe8(); recipe8.Recept8(); break; } default: { Console.Clear(); Easy easy = new Easy(); easy.EasyCat(); break; } } }
public void RecipeClass() { Console.ForegroundColor = ConsoleColor.DarkCyan; string r = @" _____ _ | __ \ | | | |__) |___ ___ ___ _ __ | |_ _ _ | _ // _ \/ __/ _ \ '_ \| __| | | | | | \ \ __/ (_| __/ |_) | |_| |_| | |_| \_\___|\___\___| .__/ \__|\__, | | | __/ | |_| |___/ "; Console.Write(r); Console.ForegroundColor = ConsoleColor.White; string a = @" .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [S] SpΓ€Ε₯ do hlavnej ponuky | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* "; Console.Write(a); Console.ForegroundColor = ConsoleColor.DarkYellow; string str = @" .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [0] Talianske tiramisu | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [1] Cestoviny s kuracΓmi prsiami Alfredo | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [2] KaramelovΓ½ cheesecake s ΔokolΓ‘dou | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [3] PolesnΓky | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [4] KuracΓ perkelt so smotanou a haluΕ‘kami | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [5] BanΓ‘novΓ© lievance s ΔokolΓ‘dou | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [6] Gyros s kuracΓm mΓ€som v tortille | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [7] ΔokolΓ‘dovΓ© cookies | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [8] CesnakovΓ‘ polievka | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [9] ZemiakovΓ© pirohy s mΓ€sovou plnkou | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [N] NovΓ½ recept | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* "; Console.Write(str); char button = Convert.ToChar(Console.Read()); string buttonString = button.ToString(); switch (buttonString) { case "s": case "S": { Console.Clear(); Console.WriteLine("SpΓ€Ε₯ do menu"); Menu hlavna = new Menu(); hlavna.DesignMenu(); break; } case "0": { Console.Clear(); Recipe0 recipe0 = new Recipe0(); recipe0.Recept0(); break; } case "1": { Console.Clear(); Recipe1 recipe1 = new Recipe1(); recipe1.Recept1(); break; } case "2": { Console.Clear(); Recipe2 recipe2 = new Recipe2(); recipe2.Recept2(); break; } case "3": { Console.Clear(); Recipe3 recipe3 = new Recipe3(); recipe3.Recept3(); break; } case "4": { Console.Clear(); Recipe4 recipe4 = new Recipe4(); recipe4.Recept4(); break; } case "5": { Console.Clear(); Recipe5 recipe5 = new Recipe5(); recipe5.Recept5(); break; } case "6": { Console.Clear(); Recipe6 recipe6 = new Recipe6(); recipe6.Recept6(); break; } case "7": { Console.Clear(); Recipe7 recipe7 = new Recipe7(); recipe7.Recept7();; break; } case "8": { Console.Clear(); Recipe8 recipe8 = new Recipe8(); recipe8.Recept8(); break; } case "9": { Console.Clear(); Recipe9 recipe9 = new Recipe9(); recipe9.Recept9(); break; } case "n": case "N": { Console.Clear(); Recipe10 class1 = new Recipe10(); class1.Recept11(); break; } default: { Console.Clear(); Recipes rec = new Recipes(); rec.RecipeClass(); break; } } }
public void SearchName() { string[] first = { "tiramisu", "talianske" }; string[] sec = { "cestoviny", "alfredo", "cestoviny s kuracimi prsiami", "kuracimi prsiami" }; string[] third = { "karamelovy cheesecake", "karamelovy", "cheesecake", "s cokoladou" }; string[] fou = { "polesniky", "pole" }; string[] fif = { "kuraci perkelt", "kuraci", "perkelt", "s haluskami", "perkelt s haluskami" }; string[] six = { "bananove lievance", "bananove", "lievance", "lievance s cokoladou" }; string[] sev = { "gyros", "v tortille", "tortilla", "gyros s kuracim masom" }; string[] eig = { "cokoladove", "cookies" }; string[] nin = { "cokoladova", "cokoladova torta", "torta", "torta s jahodami", "s jahodami" }; string[] ten = { "pirohy", "zemiakove pirohy", "zemiakove", "s masovou plnkou", "pirohy s masovou plnkou" }; Console.ReadLine(); Console.WriteLine("Zadajte ΔasΕ₯ nΓ‘zvu recepta, ktorΓ½ hΔΎadΓ‘te malΓ½mi pΓsmenami bez diakritiky : "); string str = Console.ReadLine(); char button1 = Convert.ToChar(Console.Read()); string buttonString1 = button1.ToString(); if (first.Contains(str)) { Console.Clear(); Recipe0 recipe0 = new Recipe0(); recipe0.Recept0(); } else if (sec.Contains(str)) { Console.Clear(); Recipe1 recipe1 = new Recipe1(); recipe1.Recept1(); } else if (third.Contains(str)) { Console.Clear(); Recipe2 recipe2 = new Recipe2(); recipe2.Recept2(); } else if (fou.Contains(str)) { Console.Clear(); Recipe3 recipe3 = new Recipe3(); recipe3.Recept3(); } else if (fif.Contains(str)) { Console.Clear(); Recipe4 recipe4 = new Recipe4(); recipe4.Recept4(); } else if (six.Contains(str)) { Console.Clear(); Recipe5 recipe5 = new Recipe5(); recipe5.Recept5(); } else if (sev.Contains(str)) { Console.Clear(); Recipe6 recipe6 = new Recipe6(); recipe6.Recept6(); } else if (eig.Contains(str)) { Console.Clear(); Recipe7 recipe7 = new Recipe7(); recipe7.Recept7(); } else if (nin.Contains(str)) { Console.Clear(); Recipe8 recipe8 = new Recipe8(); recipe8.Recept8(); } else if (ten.Contains(str)) { Console.Clear(); Recipe9 recipe9 = new Recipe9(); recipe9.Recept9(); } else if (buttonString1 == "s") { Console.Clear(); Find find = new Find(); find.FindRecipe(); } else { Console.Clear(); ByName byName = new ByName(); byName.SearchName(); } }
public void ReceptyBabky() { Console.ForegroundColor = ConsoleColor.DarkYellow; string str = @" .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [0] PolesnΓky | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [1] CesnakovΓ‘ polievka | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [2] ZemiakovΓ© pirohy s mΓ€sovou plnkou | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ*"; Console.WriteLine(str); Console.ForegroundColor = ConsoleColor.DarkRed; string s = @" .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [S] SPΓΕ€ | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* "; Console.WriteLine(s); char button1 = Convert.ToChar(Console.Read()); string buttonString1 = button1.ToString(); switch (buttonString1) { case "s": case "S": { Console.Clear(); Console.WriteLine("SpΓ€Ε₯"); ByAuthor byAuthor = new ByAuthor(); byAuthor.SearchAut(); break; } case "0": { Console.Clear(); Recipe3 recipe3 = new Recipe3(); recipe3.Recept3(); break; } case "1": { Console.Clear(); Recipe8 recipe8 = new Recipe8(); recipe8.Recept8(); break; } case "2": { Console.Clear(); Recipe9 recipe9 = new Recipe9(); recipe9.Recept9(); break; } default: { Console.Clear(); Author4 author = new Author4(); author.ReceptyBabky(); break; } } }
public void SearchDate() { string a = @" RECEPTY SΓ ZORADENΓ OD NAJNOVΕ IE PRIDANΓ PO TIE NAJSTARΕ IE --------------------------------------------------------------"; Console.WriteLine(a); Console.ForegroundColor = ConsoleColor.DarkCyan; string str = @" .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [0] ZemiakovΓ© pirohy s mΓ€sovou plnkou | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [1] CesnakovΓ‘ polievka | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [2] ΔokolΓ‘dovΓ© cookies | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [3] Gyros s kuracΓm mΓ€som v tortille | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [4] BanΓ‘novΓ© lievance s ΔokolΓ‘dou | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [5] KuracΓ perkelt so smotanou a haluΕ‘kami | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [6] PolesnΓky | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [7] KaramelovΓ½ cheesecake s ΔokolΓ‘dou | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [8] Cestoviny s kuracΓmi prsiami Alfredo | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [9] Talianske tiramisu | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ*"; Console.Write(str); Console.ForegroundColor = ConsoleColor.DarkRed; string s = @" .ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ. | [S] SPΓΕ€ NA VΕ ETKY KATEGΓRIE | *ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ* "; Console.WriteLine(s); Console.ReadLine(); char button = Convert.ToChar(Console.Read()); string buttonString = button.ToString(); switch (buttonString) { case "s": case "S": { Console.Clear(); Console.WriteLine("SpΓ€Ε₯ do menu"); Menu hlavna = new Menu(); hlavna.DesignMenu(); break; } case "0": { Console.Clear(); Recipe9 recipe9 = new Recipe9(); recipe9.Recept9(); break; } case "1": { Console.Clear(); Recipe8 recipe8 = new Recipe8(); recipe8.Recept8(); break; } case "2": { Console.Clear(); Recipe7 recipe7 = new Recipe7(); recipe7.Recept7(); break; } case "3": { Console.Clear(); Recipe6 recipe6 = new Recipe6(); recipe6.Recept6(); break; } case "4": { Console.Clear(); Recipe5 recipe5 = new Recipe5(); recipe5.Recept5(); break; } case "5": { Console.Clear(); Recipe4 recipe4 = new Recipe4(); recipe4.Recept4(); break; } case "6": { Console.Clear(); Recipe3 recipe3 = new Recipe3(); recipe3.Recept3(); break; } case "7": { Console.Clear(); Recipe2 recipe2 = new Recipe2(); recipe2.Recept2();; break; } case "8": { Console.Clear(); Recipe1 recipe1 = new Recipe1(); recipe1.Recept1(); break; } case "9": { Console.Clear(); Recipe0 recipe0 = new Recipe0(); recipe0.Recept0(); break; } default: { Console.Clear(); Recipes rec = new Recipes(); rec.RecipeClass(); break; } } }