void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.OnlineShop = ((FinalExamination.ControlsWindows.OnlineShopControl)(target));
                return;

            case 2:
                this.Item1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.Item2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.Item3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.Item4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.Item6 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 22 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.Button1plus.Click += new System.Windows.RoutedEventHandler(this.Button1plus_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.Button1minus.Click += new System.Windows.RoutedEventHandler(this.Button1minus_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.Quantity1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.Button2plus = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.Button2plus.Click += new System.Windows.RoutedEventHandler(this.Button2plus_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.Button2minus = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.Button2minus.Click += new System.Windows.RoutedEventHandler(this.Button2minus_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Quantity2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.Button3plus = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.Button3plus.Click += new System.Windows.RoutedEventHandler(this.Button3plus_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Button3minus = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.Button3minus.Click += new System.Windows.RoutedEventHandler(this.Button3minus_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.Quantity3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.Button4plus = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.Button4plus.Click += new System.Windows.RoutedEventHandler(this.Button4plus_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.Button4minus = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.Button4minus.Click += new System.Windows.RoutedEventHandler(this.Button4minus_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.Quantity4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.Button5plus = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.Button5plus.Click += new System.Windows.RoutedEventHandler(this.Button5plus_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.Button5minus = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.Button5minus.Click += new System.Windows.RoutedEventHandler(this.Button5minus_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.Quantity5 = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 23:
                this.ResetButton = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\..\ControlsWindows\OnlineShopControl.xaml"
                this.ResetButton.Click += new System.Windows.RoutedEventHandler(this.ResetButton_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.Header = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private void OrderButton_Click(object sender, RoutedEventArgs e)
        {
            OnlineShopControl x = new OnlineShopControl();

            x.Show();
        }