/// <summary>
 /// Initializes Sailor Soda customization
 /// </summary>
 /// <param name="oc">Order control we are currently in</param>
 public CustomSailorCombo(OrderComponent oc, SailorSoda ss, SailorSpecial special)
 {
     InitializeComponent();
     orderItem.Text = "Customizing Sailor Soda";
     o           = oc;
     soda        = ss;
     combo       = special;
     DataContext = soda;
 }
 /// <summary>
 /// Initializes Dragonborn Waffle Fries customization
 /// </summary>
 /// <param name="oc">Order control we are currently in</param>
 public CustomWaffleFries(OrderComponent oc, DragonbornWaffleFries dwf, SailorSpecial combo)
 {
     InitializeComponent();
     orderItem.Text = "Customizing Dragonborn Waffle Fries";
     o           = oc;
     fries       = dwf;
     ss          = combo;
     DataContext = fries;
 }
示例#3
0
 /// <summary>
 /// Initializes Briarheart Burger customization
 /// </summary>
 /// <param name="oc">Order control we are currently in</param>
 public CustomBurgerCombo(OrderComponent oc, BriarheartBurger burg, SailorSpecial ss)
 {
     InitializeComponent();
     orderItem.Text = "Customizing Briarheart Burger";
     o           = oc;
     burger      = burg;
     combo       = ss;
     DataContext = burger;
 }