void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((BMC.Presentation.POS.Views.CPrintPromotionalTickets)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 4:
                this.lblStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.lblPrintedTicket = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.lblTotalTicket = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.pbPrint = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 26 "..\..\..\Views\CPrintPromotionalTickets.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnPause = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\..\Views\CPrintPromotionalTickets.xaml"
                this.btnPause.Click += new System.Windows.RoutedEventHandler(this.btnPause_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.lblErrorMsg = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((BMC.Presentation.POS.Views.CPrintPromotionalTickets)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.txtHeader = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.lblStatus = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.lblPrintedTicket = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.lblTotalTicket = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.pbPrint = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 8:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\..\Views\CPrintPromotionalTickets.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnPause = ((System.Windows.Controls.Button)(target));
     
     #line 27 "..\..\..\Views\CPrintPromotionalTickets.xaml"
     this.btnPause.Click += new System.Windows.RoutedEventHandler(this.btnPause_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.lblErrorMsg = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }