void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.Configuration = ((PosControls.ConfigurationManager)(target));
                return;

            case 3:

            #line 36 "..\..\..\OrderEntryControl.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

            case 4:
                this.mainContentBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.couponEntryControl = ((PointOfSale.TicketCouponControl)(target));
                return;

            case 6:
                this.discountControl = ((PointOfSale.TicketDiscountControl)(target));
                return;

            case 7:
                this.ticketDetailsControl = ((PointOfSale.OrderEntryTicketDetailsControl)(target));
                return;

            case 8:
                this.ticketSelectionControl = ((PointOfSale.OrderEntryTicketSelectionControl)(target));
                return;

            case 9:
                this.groupBoxNonOrderCommands = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 10:
                this.nonOrderCommandControl = ((PointOfSale.OrderEntryNonOrderCommandsControl)(target));
                return;

            case 11:
                this.groupBoxOrderCommands = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 12:
                this.orderCommandControl = ((PointOfSale.OrderEntryOrderCommandsControl)(target));
                return;

            case 13:
                this.groupBoxOptions = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 14:
                this.orderEntryItemOptions = ((PointOfSale.OrderEntryStandardItemOptionsControl)(target));
                return;

            case 15:
                this.orderEntryPizzaItemOptions = ((PointOfSale.OrderEntryPizzaItemControl)(target));
                return;

            case 16:
                this.groupBoxItems = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 17:
                this.orderEntryItemSelection = ((PointOfSale.OrderEntryItemSelectionControl)(target));
                return;

            case 18:
                this.groupBoxCategories = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 19:
                this.buttonTouchInputCategory = ((PointOfSale.OrderEntryCategorySelectionControl)(target));
                return;

            case 20:
                this.receiptTape1 = ((PointOfSale.OrderEntryReceiptTape)(target));
                return;

            case 21:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 22:
                this.textBlockOrderAmount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.textBlockTableName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.textBlockCustomerName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.textBlockUserName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.textBlockWeather = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.textBlockDate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.textBlockTime = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainPane = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 2:
     this.Configuration = ((PointOfSale.ConfigurationManager)(target));
     return;
     case 3:
     this.labelTopRight = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.listBoxTicketItems = ((PosControls.DragScrollListBox)(target));
     
     #line 45 "..\..\..\TicketCashoutControl.xaml"
     this.listBoxTicketItems.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxTicketItems_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.paymentControl = ((PointOfSale.TicketCashoutPaymentControl)(target));
     return;
     case 6:
     this.couponEntryControl = ((PointOfSale.TicketCouponControl)(target));
     return;
     case 7:
     this.discountControl = ((PointOfSale.TicketDiscountControl)(target));
     return;
     case 8:
     this.buttonCoupon = ((PosControls.PushButton)(target));
     
     #line 50 "..\..\..\TicketCashoutControl.xaml"
     this.buttonCoupon.Selected += new System.EventHandler(this.Button_Selected);
     
     #line default
     #line hidden
     return;
     case 9:
     this.buttonDiscount = ((PosControls.PushButton)(target));
     
     #line 51 "..\..\..\TicketCashoutControl.xaml"
     this.buttonDiscount.Selected += new System.EventHandler(this.Button_Selected);
     
     #line default
     #line hidden
     return;
     case 10:
     this.buttonTaxExemption = ((PosControls.PushButton)(target));
     
     #line 52 "..\..\..\TicketCashoutControl.xaml"
     this.buttonTaxExemption.Selected += new System.EventHandler(this.Button_Selected);
     
     #line default
     #line hidden
     return;
     case 11:
     this.buttonRefund = ((PosControls.PushButton)(target));
     
     #line 55 "..\..\..\TicketCashoutControl.xaml"
     this.buttonRefund.Selected += new System.EventHandler(this.Button_Selected);
     
     #line default
     #line hidden
     return;
     case 12:
     this.buttonPrintReceipt = ((PosControls.PushButton)(target));
     
     #line 56 "..\..\..\TicketCashoutControl.xaml"
     this.buttonPrintReceipt.Selected += new System.EventHandler(this.Button_Selected);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }