void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FirstWindow = ((POS.MainWindow)(target));
                return;

            case 4:

            #line 170 "..\..\MainMenuViewModel.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveOrderItemBtnClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 176 "..\..\MainMenuViewModel.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.TakeOrderBtnClick);

            #line default
            #line hidden
                return;

            case 6:
                this.sv = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 7:
                this.sp = ((System.Windows.Controls.StackPanel)(target));

            #line 184 "..\..\MainMenuViewModel.xaml"
                this.sp.MouseMove += new System.Windows.Input.MouseEventHandler(this.sp_MouseMoveOrder);

            #line default
            #line hidden
                return;

            case 8:
                this.drinksListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 9:
                this.sandwichesListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 10:
                this.hamburgersListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 11:
                this.desertListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 12:
                this.menuItemsHamburgersScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 13:

            #line 214 "..\..\MainMenuViewModel.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.sp_MouseMoveMenu);

            #line default
            #line hidden
                return;

            case 14:
                this.menuItemsHamburgers = ((System.Windows.Controls.ListBox)(target));
                return;

            case 15:
                this.menuItemsMexicanScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 16:

            #line 221 "..\..\MainMenuViewModel.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.sp_MouseMoveMenu);

            #line default
            #line hidden
                return;

            case 17:
                this.menuItemsMexican = ((System.Windows.Controls.ListBox)(target));
                return;

            case 18:
                this.menuItemsSandwichesScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 19:

            #line 228 "..\..\MainMenuViewModel.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.sp_MouseMoveMenu);

            #line default
            #line hidden
                return;

            case 20:
                this.menuItemsSandwiches = ((System.Windows.Controls.ListBox)(target));
                return;

            case 21:
                this.menuItemsCroissantScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 22:

            #line 235 "..\..\MainMenuViewModel.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.sp_MouseMoveMenu);

            #line default
            #line hidden
                return;

            case 23:
                this.menuItemsCroissant = ((System.Windows.Controls.ListBox)(target));
                return;

            case 24:
                this.menuItemsPaniniScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 25:

            #line 242 "..\..\MainMenuViewModel.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.sp_MouseMoveMenu);

            #line default
            #line hidden
                return;

            case 26:
                this.menuItemsPanini = ((System.Windows.Controls.ListBox)(target));
                return;

            case 27:
                this.menuItemsMeatScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 28:

            #line 249 "..\..\MainMenuViewModel.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.sp_MouseMoveMenu);

            #line default
            #line hidden
                return;

            case 29:
                this.menuItemsMeat = ((System.Windows.Controls.ListBox)(target));
                return;

            case 30:
                this.menuItemsKidsScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 31:

            #line 256 "..\..\MainMenuViewModel.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.sp_MouseMoveMenu);

            #line default
            #line hidden
                return;

            case 32:
                this.menuItemsKids = ((System.Windows.Controls.ListBox)(target));
                return;

            case 33:
                this.transparentGrayOverlay = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     MainWindow main = new MainWindow();
     main.Show();
 }