/// <summary>
 /// Opens a combo menu
 /// </summary>
 public void OpenCombo(Combo combo)
 {
     comboSelection        = new ComboSelection(this, combo);
     windowControl.Content = comboSelection;
 }
        /// <summary>
        /// Changes the usercontrol of the main menu contained within the ordercomponent
        /// </summary>
        /// <param name="customizer">a string describing the control to go to</param>
        public void changePrimaryMenu(string customizer)
        {
            switch (customizer)
            {
            case "Create A Combo":
            {
                PrimaryMenuBorder.Child = new ComboSelection();
                ComboSelection c = PrimaryMenuBorder.Child as ComboSelection;
                c.DataContext = new Combo();
                break;
            }

            case "Selection":
            {
                PrimaryMenuBorder.Child = new MenuSelectionComponent();
                MenuSelectionComponent c = PrimaryMenuBorder.Child as MenuSelectionComponent;
                c.DataContext = null;
                break;
            }

            case "Briarheart Burger":
            {
                PrimaryMenuBorder.Child = new BriarheartBurgerCustomizer();
                BriarheartBurgerCustomizer c = PrimaryMenuBorder.Child as BriarheartBurgerCustomizer;
                c.DataContext = new BriarheartBurger();
                break;
            }

            case "Double Draugr":
            {
                PrimaryMenuBorder.Child = new DoubleDraugerCustomizer();
                DoubleDraugerCustomizer c = PrimaryMenuBorder.Child as DoubleDraugerCustomizer;
                c.DataContext = new DoubleDraugr();
                break;
            }

            case "Garden Orc Omelette":
            {
                PrimaryMenuBorder.Child = new GardenOrcOmeletteCustomizer();
                GardenOrcOmeletteCustomizer c = PrimaryMenuBorder.Child as GardenOrcOmeletteCustomizer;
                c.DataContext = new GardenOrcOmelette();
                break;
            }

            case "Philly Poacher":
            {
                PrimaryMenuBorder.Child = new PhillyPoacherCustomizer();
                PhillyPoacherCustomizer c = PrimaryMenuBorder.Child as PhillyPoacherCustomizer;
                c.DataContext = new PhillyPoacher();
                break;
            }

            case "Smokehouse Skeleton":
            {
                PrimaryMenuBorder.Child = new SmokehouseSkeletonCustomizer();
                SmokehouseSkeletonCustomizer c = PrimaryMenuBorder.Child as SmokehouseSkeletonCustomizer;
                c.DataContext = new SmokehouseSkeleton();
                break;
            }

            case "Thalmor Triple":
            {
                PrimaryMenuBorder.Child = new ThalmorTripleCustomizer();
                ThalmorTripleCustomizer c = PrimaryMenuBorder.Child as ThalmorTripleCustomizer;
                c.DataContext = new ThalmorTriple();
                break;
            }

            case "Thugs T-Bone":
            {
                PrimaryMenuBorder.Child = new MenuSelectionComponent();
                MenuSelectionComponent c = PrimaryMenuBorder.Child as MenuSelectionComponent;
                c.DataContext = new ThugsTBone();
                break;
            }

            case "Dragonborn Waffle Fries":
            {
                PrimaryMenuBorder.Child = new SideCustomizer();
                SideCustomizer c = PrimaryMenuBorder.Child as SideCustomizer;
                c.DataContext = new DragonbornWaffleFries();
                break;
            }

            case "Fried Miraak":
            {
                PrimaryMenuBorder.Child = new SideCustomizer();
                SideCustomizer c = PrimaryMenuBorder.Child as SideCustomizer;
                c.DataContext = new FriedMiraak();
                break;
            }

            case "Mad Otar Grits":
            {
                PrimaryMenuBorder.Child = new SideCustomizer();
                SideCustomizer c = PrimaryMenuBorder.Child as SideCustomizer;
                c.DataContext = new MadOtarGrits();
                break;
            }

            case "Vokun Salad":
            {
                PrimaryMenuBorder.Child = new SideCustomizer();
                SideCustomizer c = PrimaryMenuBorder.Child as SideCustomizer;
                c.DataContext = new VokunSalad();
                break;
            }

            case "Aretino Apple Juice":
            {
                PrimaryMenuBorder.Child = new AretinoAppleJuiceCustomizer();
                AretinoAppleJuiceCustomizer c = PrimaryMenuBorder.Child as AretinoAppleJuiceCustomizer;
                c.DataContext = new AretinoAppleJuice();
                break;
            }

            case "Candlehearth Coffee":
            {
                PrimaryMenuBorder.Child = new CandlehearthCoffeeCustomizer();
                CandlehearthCoffeeCustomizer c = PrimaryMenuBorder.Child as CandlehearthCoffeeCustomizer;
                c.DataContext = new CandlehearthCoffee();
                break;
            }

            case "Markarth Milk":
            {
                PrimaryMenuBorder.Child = new MarkarthMilkCustomizer();
                MarkarthMilkCustomizer c = PrimaryMenuBorder.Child as MarkarthMilkCustomizer;
                c.DataContext = new MarkarthMilk();
                break;
            }

            case "Warrior Water":
            {
                PrimaryMenuBorder.Child = new WarriorWaterCustomizer();
                WarriorWaterCustomizer c = PrimaryMenuBorder.Child as WarriorWaterCustomizer;
                c.DataContext = new WarriorWater();
                break;
            }

            case "Sailor Soda":
            {
                PrimaryMenuBorder.Child = new SailorSodaCustomizer();
                SailorSodaCustomizer c = PrimaryMenuBorder.Child as SailorSodaCustomizer;
                c.DataContext = new SailorSoda();
                break;
            }

            case null:
                break;
            }
        }
        /// <summary>
        /// Navigates to the desired window
        /// </summary>
        /// <param name="sender"> sends where it was clicked</param>
        /// <param name="e">and the event argument</param>
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            ComboSelection s = new ComboSelection();

            NavigationService.Navigate(s);
        }