/// <summary> /// navigates to the fried miraak cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void FriedMiraak_Click(object sender, RoutedEventArgs e) { var fm = new FriedMiraak(); FriedMiraakCustom sc = new FriedMiraakCustom(ancestor); // NavigationService.Navigate(sc); sc.DataContext = fm; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = fm }); window.DisplayCurrentOrder(); ancestor.SwitchScreen(Screen.custFried, fm); }
/// <summary> /// navigates to the mad otar grits cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void MadOtarGrits_Click(object sender, RoutedEventArgs e) { var og = new MadOtarGrits(); MadOtarGritsCustom sc = new MadOtarGritsCustom(ancestor); // NavigationService.Navigate(sc); sc.DataContext = og; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = og }); window.DisplayCurrentOrder(); ancestor.SwitchScreen(Screen.custMad, og); }
/// <summary> /// navigates to the dragonborn waffle fries cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void DragonbornWaffleFries_Click(object sender, RoutedEventArgs e) { var dw = new DragonbornWaffleFries(); DragonbornWaffleFriesCustom sc = new DragonbornWaffleFriesCustom(ancestor); // NavigationService.Navigate(sc); sc.DataContext = dw; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = dw }); window.DisplayCurrentOrder(); ancestor.SwitchScreen(Screen.custMarkarth, dw); }
/// <summary> /// navigates to the vokun salad cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void VokunSalad_Click(object sender, RoutedEventArgs e) { var vs = new VokunSalad(); VokunSaladCustom sc = new VokunSaladCustom(ancestor); // NavigationService.Navigate(sc); sc.DataContext = vs; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = vs }); window.DisplayCurrentOrder(); ancestor.SwitchScreen(Screen.custVokun, vs); }
// public MainWindow mainwindow = new MainWindow(); /// <summary> /// navigates to the briar burger cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void BriarBurger_Click(object sender, RoutedEventArgs e) { var bb = new BriarheartBurger(); Briarhear_Burgers bBurger = new Briarhear_Burgers(ancestor); // this.NavigationService.Navigate(bBurger); bBurger.DataContext = bb; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = bb }); //window.finallist.Add(bb); window.newOrder.Add(bb); ancestor.SwitchScreen(Screen.custBriarheart, bb); }
/// <summary> /// navigates to the philly poacher cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void PhillyPoacher_Click(object sender, RoutedEventArgs e) { var pp = new PhillyPoacher(); Philly_Poacher phillyPoach = new Philly_Poacher(ancestor); // this.NavigationService.Navigate(phillyPoach); phillyPoach.DataContext = pp; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = pp }); // window.finallist.Add(pp); window.newOrder.Add(pp); ancestor.SwitchScreen(Screen.custPhillyPoach, pp); }
/// <summary> /// navigates to the green orc omelette cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void GardenOrcOmelete_Click(object sender, RoutedEventArgs e) { var oo = new GardenOrcOmelette(); GardenOrc_Omelette orcOm = new GardenOrc_Omelette(ancestor); // this.NavigationService.Navigate(orcOm); orcOm.DataContext = oo; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = oo }); // window.finallist.Add(oo); window.newOrder.Add(oo); ancestor.SwitchScreen(Screen.custGardenOrc, oo); }
/// <summary> /// navigates to the smokehouse skeleton cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void SmokehouseSkeleton_Click(object sender, RoutedEventArgs e) { var ss = new SmokehouseSkeleton(); Smokehouse_Skeleton smoke = new Smokehouse_Skeleton(ancestor); //this.NavigationService.Navigate(smoke); smoke.DataContext = ss; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = ss }); // window.finallist.Add(ss); window.newOrder.Add(ss); ancestor.SwitchScreen(Screen.custSmokehouse, ss); }
/// <summary> /// navigates to the Thalmor triple cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void ThalmorTriple_Click(object sender, RoutedEventArgs e) { var ct = new ThalmorTriple(); Thalmor_Triple tripBurg = new Thalmor_Triple(ancestor); // this.NavigationService.Navigate(tripBurg); tripBurg.DataContext = ct; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = ct }); //window.finallist.Add(ct); window.newOrder.Add(ct); ancestor.SwitchScreen(Screen.custThalmor, ct); }
/// <summary> /// navigates to the double draugr cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void DoubleDraugr_Click(object sender, RoutedEventArgs e) { var tt = new DoubleDraugr(); Double_Draugr tBurger = new Double_Draugr(ancestor); // this.NavigationService.Navigate(tBurger); tBurger.DataContext = tt; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = tt }); //window.finallist.Add(tt); window.newOrder.Add(tt); ancestor.SwitchScreen(Screen.custDoubleDraugr, tt); }
/// <summary> /// navigates to the thugs t-bone cutomizations /// </summary> /// <param name="sender">button being sent</param> /// <param name="e">button pressed</param> private void Button_Click(object sender, RoutedEventArgs e) { var tb = new ThugsTBone(); Thugs_T_Bone tBone = new Thugs_T_Bone(ancestor); // this.NavigationService.Navigate(tBone); tBone.DataContext = tb; CurrentSelection?.Invoke(this, new CustomizationSelector() { orderItem = tb }); //window.finallist.Add(tb); window.newOrder.Add(tb); ancestor.SwitchScreen(Screen.custPhillyPoach, tb); }