private void AddRecipeButton_Click(object sender, RoutedEventArgs e)
        {
            RecipesSuggestion x = new RecipesSuggestion();

            x.IngredientsTextblock.Text = Ingred1.Text + "       " + Ingred2.Text + "       " + Ingred3.Text + "       " + Ingred4.Text + "       ";
            x.QuantityTextblock.Text    = Qnt1.Text + "       " + Qnt2.Text + "       " + Qnt3.Text + "       " + Qnt4.Text + "       ";
            Button newButton = new Button();

            newButton.Content = RecipeName.Text;
            newButton.Height  = 25;
            newButton.Width   = 177;
            x.RecipesListView.Items.Add(newButton);
            x.Show();
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Recipes = ((FinalExamination.ControlsWindows.RecipesSuggestion)(target));
                return;

            case 2:
                this.OnlineRecipes = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\..\ControlsWindows\RecipesSuggestion.xaml"
                this.OnlineRecipes.Click += new System.Windows.RoutedEventHandler(this.OnlineRecipes_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.RecipeImage = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.RecipesListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 5:
                this.BologneseRec = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\..\ControlsWindows\RecipesSuggestion.xaml"
                this.BologneseRec.Click += new System.Windows.RoutedEventHandler(this.BologneseRec_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.PastitsioRec = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\ControlsWindows\RecipesSuggestion.xaml"
                this.PastitsioRec.Click += new System.Windows.RoutedEventHandler(this.PastitsioRec_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.ChickenRec = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\..\ControlsWindows\RecipesSuggestion.xaml"
                this.ChickenRec.Click += new System.Windows.RoutedEventHandler(this.ChickenRec_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.AddRecipe = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\ControlsWindows\RecipesSuggestion.xaml"
                this.AddRecipe.Click += new System.Windows.RoutedEventHandler(this.AddRecipe_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.IngredientsTextblock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.QuantityTextblock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.StockTextbox = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.OrderButton = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\ControlsWindows\RecipesSuggestion.xaml"
                this.OrderButton.Click += new System.Windows.RoutedEventHandler(this.OrderButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }