예제 #1
0
 private void SelectDrink(DinoDiner.Menu.Drink drink)
 {
     if (DataContext is Order order)
     {
         if (isPartOfCombo)
         {
             customizeComboPage.Combo.Drink = drink;
             this.Drink = customizeComboPage.Combo.Drink;
         }
         order.Add(drink);
         this.Drink = drink;
     }
 }
예제 #2
0
 public cretaceousecombo(Entree e)
 {
     this.Entree = e;
     side        = new Fryceritops();
     drink       = new Sodasaurus();
 }