コード例 #1
0
        private void generateContentPenawaran()
        {
            Item drink1 = new Item("Ice tea", 8000);
            Item drink2 = new Item("Ice lemon tea", 5000);
            Item drink3 = new Item("Ice lemon", 7000);
            Item food4  = new Item("Bakso", 17000);
            Item food5  = new Item("Gado-gado", 14000);
            Item food6  = new Item("Sate", 15000);

            controller.addItem(drink1);
            controller.addItem(drink2);
            controller.addItem(drink3);
            controller.addItem(food4);
            controller.addItem(food5);
            controller.addItem(food6);
        }
コード例 #2
0
        private void generateContentPenawaran()
        {
            Item coffeLate       = new Item("Coffe Late", 30000);
            Item blackTea        = new Item("BlackTea", 20000);
            Item pizza           = new Item("Pizza", 75000);
            Item milkShake       = new Item("Milk Shake", 15000);
            Item friedRice       = new Item("Fried Rice Special", 45000);
            Item watermelonJuice = new Item("Watermelon Juice", 25000);
            Item lemonSquash     = new Item("Lemon Squash", 30000);

            Penawarancontroller.addItem(coffeLate);
            Penawarancontroller.addItem(blackTea);
            Penawarancontroller.addItem(pizza);
            Penawarancontroller.addItem(milkShake);
            Penawarancontroller.addItem(friedRice);
            Penawarancontroller.addItem(watermelonJuice);
            Penawarancontroller.addItem(lemonSquash);

            listPenawaran.Items.Refresh();
        }
コード例 #3
0
        private void generateContentPenawaran()
        {
            Item coffeLate    = new Item("Coffe Late", 15000);
            Item greenTea     = new Item("Green tea", 10000);
            Item milkShake    = new Item("Milk Shake", 12000);
            Item alpukatJuice = new Item("Alpukat Juice", 15000);
            Item lemonSquash  = new Item("Lemon Squash", 15000);
            Item chickenwings = new Item("Chicken wings (8 pcs)", 35000);
            Item friedRice    = new Item("Fried Rice Special", 20000);

            Penawarancontroller.addItem(coffeLate);
            Penawarancontroller.addItem(greenTea);
            Penawarancontroller.addItem(milkShake);
            Penawarancontroller.addItem(alpukatJuice);
            Penawarancontroller.addItem(lemonSquash);
            Penawarancontroller.addItem(chickenwings);
            Penawarancontroller.addItem(friedRice);

            listPenawaran.Items.Refresh();
        }
コード例 #4
0
        private void generateContentPenawaran()
        {
            Item drink1 = new Item("Kopi Joss", 8000);
            Item drink2 = new Item("Kopi Susu", 5000);
            Item drink3 = new Item("Kopi Jahe", 7000);
            Item food4  = new Item("Sego Godog", 17000);
            Item food5  = new Item("Sego Bakar", 14000);
            Item food6  = new Item("Sego kukus", 15000);
            Item food7  = new Item("Mie DokDok", 15000);

            controller.addItem(drink1);
            controller.addItem(drink2);
            controller.addItem(drink3);
            controller.addItem(food4);
            controller.addItem(food5);
            controller.addItem(food6);
            controller.addItem(food7);

            listPenawaran.Items.Refresh();
        }
コード例 #5
0
        private void generateContentPenawaran()
        {
            Item drink1 = new Item("Ice tea", 8000);
            Item drink2 = new Item("Ice jeruk", 4000);
            Item drink3 = new Item("Ice lemon", 7000);
            Item food4  = new Item("Nasi goreng", 15000);
            Item food5  = new Item("Gado-gado", 14000);
            Item food6  = new Item("Rawon", 15000);
            Item food7  = new Item("Kerupuk", 1000);

            controller.addItem(drink1);
            controller.addItem(drink2);
            controller.addItem(drink3);
            controller.addItem(food4);
            controller.addItem(food5);
            controller.addItem(food6);
            controller.addItem(food7);

            listPenawaran.Items.Refresh();
        }
コード例 #6
0
        private void generateContentPenawaran()
        {
            Item drink1 = new Item("Soda Gembira", 8000);
            Item drink2 = new Item("Ice lemon tea", 5000);
            Item drink3 = new Item("ice Buah", 7000);
            Item food4  = new Item("Somay", 17000);
            Item food5  = new Item("Gado-gado", 14000);
            Item food6  = new Item("Sate", 15000);

            controller.addItem(drink1);
            controller.addItem(drink2);
            controller.addItem(drink3);
            controller.addItem(food4);
            controller.addItem(food5);
            controller.addItem(food6);

            listPenawaran.Items.Refresh();
        }
コード例 #7
0
        private void generateContentPenawaran()
        {
            Item drink1 = new Item("Teh es", 8000);
            Item drink2 = new Item("Kupi nyusu", 5000);
            Item drink3 = new Item("Ice lemon", 7000);
            Item food4  = new Item("Bakso alhamdulillah", 17000);
            Item food5  = new Item("Gado-gado nyoi", 14000);
            Item food6  = new Item("Ayam geprek sekuyy", 15000);

            controller.addItem(drink1);
            controller.addItem(drink2);
            controller.addItem(drink3);
            controller.addItem(food4);
            controller.addItem(food5);
            controller.addItem(food6);

            listPenawaran.Items.Refresh();
        }
コード例 #8
0
ファイル: Penawaran.xaml.cs プロジェクト: Indra-Putra2/Promos
        private void generateContentPenawaran()
        {
            Item drink1 = new Item("Ice tea", 8000);
            Item drink2 = new Item("fanta", 8000);
            Item drink3 = new Item("orange juice", 10000);
            Item food4  = new Item("Bakso", 17000);
            Item food5  = new Item("nasi goreng", 14000);
            Item food6  = new Item("rendang", 20000);

            controller.addItem(drink1);
            controller.addItem(drink2);
            controller.addItem(drink3);
            controller.addItem(food4);
            controller.addItem(food5);
            controller.addItem(food6);

            listPenawaran.Items.Refresh();
        }
コード例 #9
0
        private void generateContentPenawaran()
        {
            Item drink1 = new Item("Capucino", 8000);
            Item drink2 = new Item("Es Teh", 5000);
            Item drink3 = new Item("Es Jeruk", 7000);
            Item food4  = new Item("Pempek", 17000);
            Item food5  = new Item("Ketoprak", 14000);
            Item food6  = new Item("Soto", 15000);

            controller.addItem(drink1);
            controller.addItem(drink2);
            controller.addItem(drink3);
            controller.addItem(food4);
            controller.addItem(food5);
            controller.addItem(food6);

            listPenawaran.Items.Refresh();
        }