Esempio n. 1
0
 public PaymentOptionsScreen(MenuSelect m, CurrentOrderControlComponent temp)
 {
     InitializeComponent();
     menu = m;
     temp.CompleteOrderButton.IsEnabled = false;
     receipt = temp;
 }
        /// <summary>
        /// Initializes the menu ButtonControlComponent, the receipt CurrentOrderControlComponent, and sets the button menu border to menu and sets the receipt border to the receipt
        /// </summary>
        public MenuSelect()
        {
            InitializeComponent();
            ButtonControlComponent       menu    = new ButtonControlComponent(this);
            CurrentOrderControlComponent receipt = new CurrentOrderControlComponent(this);

            orderBorder.Child        = menu;
            currentOrderBorder.Child = receipt;
        }