/// <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; }
/// <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; }
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); }
/// <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; }
/// <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; }
public PaymentOptions(MainWindow main, DisplayControler display, OrderTicket order) { InitializeComponent(); this.display = display; this.main = main; o = order; }
/// <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; }
public Combo(DisplayControler d, MenuSelectionComponent m, OrderTicket o) { InitializeComponent(); comboDeal = new Data.Combo(); this.d = d; this.m = m; this.o = o; }
/// <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; }
/// <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; }
/// <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); }