Exemple #1
0
        private void button8_Click(object sender, EventArgs e)
        {
            string chcolate_shake       = "초코 쉐이크";
            int    chcolate_shake_price = 3100;

            choose_menu.Text = choose_menu.Text + "\n" + chcolate_shake + "는          " + chcolate_shake_price.ToString() + "원";


            priceSum = priceSum + chcolate_shake_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(chcolate_shake).ToString();
            check.Menu_price(chcolate_shake_price);
        }
Exemple #2
0
        private void button7_Click(object sender, EventArgs e)
        {
            string banana_shake       = "바나나 쉐이크";
            int    banana_shake_price = 3100;

            choose_menu.Text = choose_menu.Text + "\n" + banana_shake + "는       " + banana_shake_price.ToString() + "원";


            priceSum = priceSum + banana_shake_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(banana_shake).ToString();
            check.Menu_price(banana_shake_price);
        }
Exemple #3
0
        private void button6_Click(object sender, EventArgs e)
        {
            string strawberry_shake       = "딸기 쉐이크";
            int    strawberry_shake_price = 3100;

            choose_menu.Text = choose_menu.Text + "\n" + strawberry_shake + "는          " + strawberry_shake_price.ToString() + "원";


            priceSum = priceSum + strawberry_shake_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(strawberry_shake).ToString();
            check.Menu_price(strawberry_shake_price);
        }
Exemple #4
0
        private void button5_Click(object sender, EventArgs e)
        {
            string Tomato_Deluxe       = "베이컨 토마토 디럭스";
            int    Tomato_Deluxe_price = 7600;

            choose_menu.Text = choose_menu.Text + "\n" + Tomato_Deluxe + "는      " + Tomato_Deluxe_price.ToString() + "원";


            priceSum = priceSum + Tomato_Deluxe_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(Tomato_Deluxe).ToString();
            check.Menu_price(Tomato_Deluxe_price);
        }
Exemple #5
0
        private void button8_Click(object sender, EventArgs e)
        {
            string bulgogi       = "불고기 버거";
            int    bulgogi_price = 5400;

            choose_menu.Text = choose_menu.Text + "\n" + bulgogi + "는                  " + bulgogi_price.ToString() + "원";


            priceSum = priceSum + bulgogi_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(bulgogi).ToString();
            check.Menu_price(bulgogi_price);
        }
Exemple #6
0
        private void button3_Click(object sender, EventArgs e)
        {
            string bigmak       = "빅 맥";
            int    bigmak_price = 6400;

            choose_menu.Text = choose_menu.Text + "\n" + bigmak + "는                           " + bigmak_price.ToString() + "원";


            priceSum = priceSum + bigmak_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(bigmak).ToString();
            check.Menu_price(bigmak_price);
        }
Exemple #7
0
        private void button4_Click(object sender, EventArgs e)
        {
            string shanghai       = "상하이 버거";
            int    shanghai_price = 6400;

            choose_menu.Text = choose_menu.Text + "\n" + shanghai + "는                  " + shanghai_price.ToString() + "원";


            priceSum = priceSum + shanghai_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(shanghai).ToString();
            check.Menu_price(shanghai_price);
        }
Exemple #8
0
        private void button2_Click(object sender, EventArgs e)
        {
            string hash_brown       = "1955 해쉬 브라운";
            int    hash_brown_price = 8400;

            choose_menu.Text = choose_menu.Text + "\n" + hash_brown + "는         " + hash_brown_price.ToString() + "원";


            priceSum = priceSum + hash_brown_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(hash_brown).ToString();
            check.Menu_price(hash_brown_price);
        }
Exemple #9
0
        private void button1_Click(object sender, EventArgs e)
        {
            string golden_egg       = "골든 에그 치즈버거";
            int    golden_egg_price = 8100;

            choose_menu.Text = choose_menu.Text + "\n" + golden_egg + "는         " + golden_egg_price.ToString() + "원";


            priceSum = priceSum + golden_egg_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(golden_egg).ToString();
            check.Menu_price(golden_egg_price);
        }
Exemple #10
0
        private void button18_Click(object sender, EventArgs e)
        {
            string cheeze       = "치즈 버거";
            int    cheeze_price = 6400;

            choose_menu.Text = choose_menu.Text + "\n" + cheeze + "는                     " + cheeze_price.ToString() + "원";


            priceSum = priceSum + cheeze_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(cheeze).ToString();
            check.Menu_price(cheeze_price);
        }
Exemple #11
0
        private void button18_Click(object sender, EventArgs e)
        {
            string orange_juice       = "오렌지 쥬스";
            int    orange_juice_price = 3100;

            choose_menu.Text = choose_menu.Text + "\n" + orange_juice + "는          " + orange_juice_price.ToString() + "원";


            priceSum = priceSum + orange_juice_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(orange_juice).ToString();
            check.Menu_price(orange_juice_price);
        }
Exemple #12
0
        private void button5_Click(object sender, EventArgs e)
        {
            string sprite       = "스프라이트";
            int    sprite_price = 1600;

            choose_menu.Text = choose_menu.Text + "\n" + sprite + "는           " + sprite_price.ToString() + "원";


            priceSum = priceSum + sprite_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(sprite).ToString();
            check.Menu_price(sprite_price);
        }
Exemple #13
0
        private void button4_Click(object sender, EventArgs e)
        {
            string milkiss       = "밀키스";
            int    milkiss_price = 1600;

            choose_menu.Text = choose_menu.Text + "\n" + milkiss + "는                 " + milkiss_price.ToString() + "원";


            priceSum = priceSum + milkiss_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(milkiss).ToString();
            check.Menu_price(milkiss_price);
        }
Exemple #14
0
        private void button7_Click(object sender, EventArgs e)
        {
            string shrimp       = "슈비 버거";
            int    shrimp_price = 7800;

            choose_menu.Text = choose_menu.Text + "\n" + shrimp + "는                      " + shrimp_price.ToString() + "원";


            priceSum = priceSum + shrimp_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(shrimp).ToString();
            check.Menu_price(shrimp_price);
        }
Exemple #15
0
        private void button2_Click(object sender, EventArgs e)
        {
            string coke       = "코카콜라";
            int    coke_price = 1600;

            choose_menu.Text = choose_menu.Text + "\n" + coke + "는              " + coke_price.ToString() + "원";


            priceSum = priceSum + coke_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(coke).ToString();
            check.Menu_price(coke_price);
        }
Exemple #16
0
        private void button3_Click(object sender, EventArgs e)
        {
            string fanta       = "환타";
            int    fanta_price = 1600;

            choose_menu.Text = choose_menu.Text + "\n" + fanta + "는                    " + fanta_price.ToString() + "원";


            priceSum = priceSum + fanta_price;

            last_price.Text = priceSum.ToString();

            Menu_list check = new Menu_list();

            check.Menu_name(fanta).ToString();
            check.Menu_price(fanta_price);
        }
Exemple #17
0
        private void button1_Click(object sender, EventArgs e)
        {
            string coke_zero       = "코카콜라제로";
            int    coke_zero_price = 1600;


            choose_menu.Text = choose_menu.Text + "\n" + coke_zero + "는        " + coke_zero_price.ToString() + "원";

            //form5.bag.Text = choose_menu.ToString();

            priceSum = priceSum + coke_zero_price;

            last_price.Text = priceSum.ToString();


            Menu_list check = new Menu_list();

            check.Menu_name(coke_zero).ToString();
            check.Menu_price(coke_zero_price);

            //choose_menu.Text =
        }