Пример #1
0
        private void bb_Click(object sender, RoutedEventArgs e)
        {
            menu.Visibility           = Visibility.Collapsed;
            downArrowCover.Visibility = Visibility.Collapsed;
            DetailedOrderPage dop = new DetailedOrderPage(this, "Bottomless Beverages", "choose from our wide selection of thirst-quenching drinks - 3", 3.00, false, false, "Coke", "Diet Coke", "Sprite", "Root Beer");

            dop.setAsRefillable();
            page_viewer.Children.Add(dop);
        }
Пример #2
0
        //Drinks Menu

        private void at_Click(object sender, RoutedEventArgs e)
        {
            menu.Visibility           = Visibility.Collapsed;
            downArrowCover.Visibility = Visibility.Collapsed;
            DetailedOrderPage dop = new DetailedOrderPage(this, "Assorted Teas", "aromatically made over cured leaves - 3 ½", 3.50, false, false, "Orange Pekoe", "Chamomile", "Super Mint", "Red Chai");

            dop.setAsRefillable();
            page_viewer.Children.Add(dop);
        }