コード例 #1
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button17_Click(object sender, EventArgs e)
 {
     button17.BackColor = Color.Red;
     _question = "7) Which cooking method is the least healthy?";
     _answer = "(Deep) frying";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #2
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button11_Click(object sender, EventArgs e)
 {
     button11.BackColor = Color.Red;
     _question = "1) What are the three main ways to cook an egg?";
     _answer = "Poaching, frying, boiling";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #3
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button13_Click(object sender, EventArgs e)
 {
     button13.BackColor = Color.Red;
     _question = "3) Cutting something (e.g. meat) into long, thin strips is called?";
     _answer = "Julienne";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #4
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button15_Click(object sender, EventArgs e)
 {
     button15.BackColor = Color.Red;
     _question = "5) Filling a pan with alcohol and igniting it to prepare food is called?";
     _answer = "Flambe";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #5
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button14_Click(object sender, EventArgs e)
 {
     button14.BackColor = Color.Red;
     _question =
         "4) What is the process of putting chicken/cheese/vegetables/fish in bread crumbs, eggs, and flour called?\n\nA. Panirising\nB. Baking\nC. Breading\nD. Steaming";
     _answer = "C. Breading";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #6
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button16_Click(object sender, EventArgs e)
 {
     button16.BackColor = Color.Red;
     _question =
         "6) How do you call the process of putting meat in a mixtures of herbs and sauces?\n\nA. Marinate\nB. Marinade\nC. Maranade\nD. Madanate";
     _answer = "A. Marinate";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #7
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button12_Click(object sender, EventArgs e)
 {
     button12.BackColor = Color.Red;
     _question =
         "2) What do you call the process of melting ingredients (e.g. sugar, onions)?\n\nA. Caramelization\nB. Crystallization\nC. Ionization\nD. Electrolysis";
     _answer = "A. Caramelization";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #8
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button45_Click(object sender, EventArgs e)
 {
     button45.BackColor = Color.Red;
     _question =
         "5) The Spice Route connected Europe and which region of the world?\n\nA. Japan\nB. India\nC. Egypt\nD. Mexico";
     _answer = "B. India";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #9
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button54_Click(object sender, EventArgs e)
 {
     button54.BackColor = Color.Red;
     _question = "4) What is made with butter, cream cheese, cherries, biscuits?";
     _answer = "Cheesecake";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #10
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button53_Click(object sender, EventArgs e)
 {
     button53.BackColor = Color.Red;
     _question = "3) What is made with minced meat, potatoes, eggs, herbs?";
     _answer = "Moussaka";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #11
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button52_Click(object sender, EventArgs e)
 {
     button52.BackColor = Color.Red;
     _question = "2) What is made with sour cream, bacon, basilico, eggs?";
     _answer = "Carbonara sauce";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #12
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button36_Click(object sender, EventArgs e)
 {
     button36.BackColor = Color.Red;
     _question =
         "6) How is the ranking system of restaurants called, mentioned in 'The Hundred-Foot Journey'?\n\nA. Citroen stars\nB. Michelin stars\nC. Renault stars\nD. Peugeot stars";
     _answer = "B. Michelin stars";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #13
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button57_Click(object sender, EventArgs e)
 {
     button57.BackColor = Color.Red;
     _question = "7) What is made with peppers, rice, minced meat?";
     _answer = "Stuffed peppers";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #14
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button55_Click(object sender, EventArgs e)
 {
     button55.BackColor = Color.Red;
     _question = "5) What is made with avocado, tomato, lemon, garlic?";
     _answer = "Guacamole";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #15
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button44_Click(object sender, EventArgs e)
 {
     button44.BackColor = Color.Red;
     _question = "4) Where were tomatoes used as food for the first time?";
     _answer = "Mexico";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #16
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button43_Click(object sender, EventArgs e)
 {
     button43.BackColor = Color.Red;
     _question =
         "3) Which nationality introduced potatoes to Europe?\n\nA. Portuguese\nB. Spanish\nC. British\nD. Italian";
     _answer = "B. Spanish";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #17
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button42_Click(object sender, EventArgs e)
 {
     button42.BackColor = Color.Red;
     _question = "2) What inspired the Austrians (yes, not the French!) to invent the croissant?";
     _answer = "The crescent on the Turkish flag";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #18
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button41_Click(object sender, EventArgs e)
 {
     button41.BackColor = Color.Red;
     _question =
         "1) In the valley of which river was watermelon cultivated during prehistoric times?\n\nA. Danube\nB. Nile\nC. Tigris\nD. Euphrates";
     _answer = "B. Nile";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #19
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button38_Click(object sender, EventArgs e)
 {
     button38.BackColor = Color.Red;
     _question = "8) Who starred as the leading male role in Lasse Hallström's 'Chocolat'?";
     _answer = "Johnny Depp";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #20
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button37_Click(object sender, EventArgs e)
 {
     button37.BackColor = Color.Red;
     _question = "7) What is the name of the little chef rat from Disney Pixar's 'Ratatouille'?";
     _answer = "Remy";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #21
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button56_Click(object sender, EventArgs e)
 {
     button56.BackColor = Color.Red;
     _question = "6) What is made with iceberg salad, chicken, anchovies, croutons?";
     _answer = "Caesar salad";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #22
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button46_Click(object sender, EventArgs e)
 {
     button46.BackColor = Color.Red;
     _question =
         "6) What did Europeans use to make sugar during the Middle Ages before sugar cane came from the Americas?";
     _answer = "Sugar beet";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #23
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button58_Click(object sender, EventArgs e)
 {
     button58.BackColor = Color.Red;
     _question = "8) What is made with vodka, triple sec, cranberry juice, lime juice?";
     _answer = "Cosmopolitan";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #24
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button47_Click(object sender, EventArgs e)
 {
     button47.BackColor = Color.Red;
     _question =
         "7) How is the pasta sauce invented by the miners in Italy called?\n\nA. Minara\nB. Bolognese\nC. Carbonara\nD. Puttanesca";
     _answer = "C. Carbonara";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #25
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button18_Click(object sender, EventArgs e)
 {
     button18.BackColor = Color.Red;
     _question =
         "8) When you bake a pie crust, why do you put raw rice or beans on top of it?\n\nA. To bake it faster\nB. To make it rise\nC. To make it taste it better\nD. To prevent it from rising";
     _answer = "D. To prevent it from rising";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #26
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button34_Click(object sender, EventArgs e)
 {
     button34.BackColor = Color.Red;
     _question =
         "4) What nationality are the main characters who open their own family restaurant in 'The Hundred-Foot Journey'?";
     _answer = "Indian";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #27
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button48_Click(object sender, EventArgs e)
 {
     button48.BackColor = Color.Red;
     _question = "8) What is the name of the French king whose food dish was cauliflower?";
     _answer = "Louis XIV, the Sun King";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #28
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button35_Click(object sender, EventArgs e)
 {
     button35.BackColor = Color.Red;
     _question =
         "5) What is Julia's most famous dish that Julie tries to make at home and fails in 'Julie and Julia'?\n\nA. Onion soup\nB. Omelette \nC. Burgundy Beef\nD. Souflé";
     _answer = "C. Burgundy beef";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #29
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button21_Click(object sender, EventArgs e)
 {
     button21.BackColor = Color.Red;
     _question = "1) What is the main ingredient of paella?";
     _answer = "Rice";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }
コード例 #30
0
ファイル: MainWindow.cs プロジェクト: aleks-angelov/FoodQuiz
 private void button51_Click(object sender, EventArgs e)
 {
     button51.BackColor = Color.Red;
     _question = "1) What is made with mascarpone, biscotti, cocoa powder, coffee?";
     _answer = "Tiramisù";
     _questionWindow = new QuestionWindow(_question, _answer);
     _questionWindow.ShowDialog();
 }