Exemplo n.º 1
0
        /// <summary>
        /// Menu Selection window
        /// </summary>
        /// <param name="display">Display controller</param>
        /// <param name="order">oder ticket</param>
        public MenuSelectionComponent(DisplayControler display, OrderTicket order)
        {
            InitializeComponent();

            this.parent = display;
            this.order  = order;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Philly Poacher customization menu
 /// </summary>
 /// <param name="display">Display controller</param>
 /// <param name="menu">Menu selection</param>
 /// <param name="order">oder ticket</param>
 public PhillyPoacher(DisplayControler display, MenuSelectionComponent menu, OrderTicket order)
 {
     InitializeComponent();
     this.display = display;
     this.menu    = menu;
     this.order   = order;
 }
Exemplo n.º 3
0
 public CashPayment(MainWindow main, DisplayControler display, OrderTicket orderTicket)
 {
     InitializeComponent();
     o = orderTicket;
     d = display;
     m = main;
     hundreds.Label    = "$100";
     fifties.Label     = "$50";
     twenties.Label    = "$20";
     tens.Label        = "$10";
     fives.Label       = "$5";
     twos.Label        = "$2";
     ones.Label        = "$1";
     halfDollars.Label = "$0.5";
     quarters.Label    = "$0.25";
     dimes.Label       = "$0.1";
     nickles.Label     = "$0.05";
     pennies.Label     = "$0.01";
     order             = (Order)o.DataContext;
     Total             = order.Total;
     cashDrawer        = new BleakwindBuffet.Data.CashDrawerView();
     this.DataContext  = cashDrawer;
     Amountdue         = cashDrawer.UpdateAmount(Total);
     ChangeOwed        = cashDrawer.UpdateChange(Total);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Brairheart burger customization menu
 /// </summary>
 /// <param name="display">Display controller</param>
 /// <param name="menu">Menu selection</param>
 /// <param name="order">oder ticket</param>
 public BriarheartBurger(DisplayControler display, MenuSelectionComponent menu, OrderTicket order)
 {
     InitializeComponent();
     this.display = display;
     this.menu    = menu;
     this.order   = order;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Smokehouse Skeleton customization menu
 /// </summary>
 /// <param name="display">Display controller</param>
 /// <param name="menu">Menu selection</param>
 /// <param name="order">oder ticket</param>
 public SmokehouseSkeleton(DisplayControler display, MenuSelectionComponent menu, OrderTicket order)
 {
     InitializeComponent();
     this.display = display;
     this.menu    = menu;
     this.order   = order;
 }
Exemplo n.º 6
0
 public PaymentOptions(MainWindow main, DisplayControler display, OrderTicket order)
 {
     InitializeComponent();
     this.display = display;
     this.main    = main;
     o            = order;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Thalmor Triple customization menu
 /// </summary>
 /// <param name="display">Display controller</param>
 /// <param name="menu">Menu selection</param>
 /// <param name="order">oder ticket</param>
 public ThalmorTriple(DisplayControler display, MenuSelectionComponent menu, OrderTicket order)
 {
     InitializeComponent();
     this.display = display;
     this.menu    = menu;
     this.order   = order;
 }
 /// <summary>
 /// Garnden Orc Omlette customization menu
 /// </summary>
 /// <param name="display">Display controller</param>
 /// <param name="menu">Menu selection</param>
 /// <param name="order">oder ticket</param>
 public GardenOrcOmlette(DisplayControler display, MenuSelectionComponent menu, OrderTicket order)
 {
     InitializeComponent();
     this.display = display;
     this.menu    = menu;
     this.order   = order;
 }
 /// <summary>
 /// Markarth Milk customization menu
 /// </summary>
 /// <param name="display">Display controller</param>
 /// <param name="menu">Menu selection</param>
 /// <param name="order">oder ticket</param>
 public MarkarthMilk(DisplayControler display, MenuSelectionComponent menu, OrderTicket order)
 {
     InitializeComponent();
     this.display    = display;
     this.menu       = menu;
     this.order      = order;
     Small.IsChecked = true;
 }
Exemplo n.º 10
0
 public Combo(DisplayControler d, MenuSelectionComponent m, OrderTicket o)
 {
     InitializeComponent();
     comboDeal = new Data.Combo();
     this.d    = d;
     this.m    = m;
     this.o    = o;
 }
Exemplo n.º 11
0
 /// <summary>
 /// Dragonborn Waffle Fries customization menu
 /// </summary>
 /// <param name="display">Display controller</param>
 /// <param name="menu">Menu selection</param>
 /// <param name="order">oder ticket</param>
 public DragonbornWaffleFries(DisplayControler display, MenuSelectionComponent menu, OrderTicket order)
 {
     InitializeComponent();
     this.display    = display;
     this.menu       = menu;
     this.order      = order;
     Small.IsChecked = true;
 }
 /// <summary>
 /// Arentino Apple Juice customization menu
 /// </summary>
 /// <param name="display">Display controller</param>
 /// <param name="menu">Menu selection</param>
 /// <param name="order">oder ticket</param>
 public ArentinoAppleJuice(DisplayControler display, MenuSelectionComponent menu, OrderTicket order)
 {
     InitializeComponent();
     Small.IsChecked = true;
     this.display    = display;
     this.menu       = menu;
     this.order      = order;
 }
Exemplo n.º 13
0
 /// <summary>
 /// Sailor Soda customization menu
 /// </summary>
 /// <param name="display">Display controller</param>
 /// <param name="menu">Menu selection</param>
 /// <param name="order">oder ticket</param>
 public SailorSoda(DisplayControler display, MenuSelectionComponent menu, OrderTicket order)
 {
     InitializeComponent();
     this.display         = display;
     this.menu            = menu;
     this.order           = order;
     Small.IsChecked      = true;
     Blackberry.IsChecked = true;
 }
Exemplo n.º 14
0
        /// <summary>
        /// Main Window application
        /// </summary>
        public MainWindow()
        {
            InitializeComponent();
            o             = new OrderTicket();
            order.Child   = o;
            o.DataContext = new Order();
            DisplayControler d = new DisplayControler(o);

            containerBorder.Child = d;
            p = new PaymentOptions(this, d, o);
        }