Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((BMC.Presentation.CRedeemTicket)(target));

            #line 2 "..\..\..\Views\CRedeemTicket.xaml"
                this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.gridCashDispenser = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.dispenserStatus = ((BMC.Presentation.POS.UserControls.CashDispenserStatus)(target));
                return;

            case 5:
                this.gridRedeemedTicket = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.txtPrintedMachine = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.lblPrintedMachine = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.txtClaimedDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.lblClaimedDate = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.txtClaimedDevice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.lblClaimedDevice = ((System.Windows.Controls.Label)(target));
                return;

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

            case 13:
                this.lblTickAmount = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.ucValueCalc = ((BMC.Presentation.CTicketEntry)(target));
                return;

            case 15:
                this.gridTicScanDet = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.txtStatus = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.txtWarning = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.lblWarning = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 23:
                this.txtAmount = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.btnVerify = ((System.Windows.Controls.Button)(target));

            #line 116 "..\..\..\Views\CRedeemTicket.xaml"
                this.btnVerify.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.btnGetVoucherInfo = ((System.Windows.Controls.Button)(target));

            #line 117 "..\..\..\Views\CRedeemTicket.xaml"
                this.btnGetVoucherInfo.Click += new System.Windows.RoutedEventHandler(this.btnGetVoucherInfo_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ViewHandpay = ((BMC.Presentation.CViewHandpay)(target));
     
     #line 13 "..\..\..\Views\CViewHandpay.xaml"
     this.ViewHandpay.Loaded += new System.Windows.RoutedEventHandler(this.ViewHandpay_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.GHandpay = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.btnManual = ((System.Windows.Controls.Button)(target));
     
     #line 99 "..\..\..\Views\CViewHandpay.xaml"
     this.btnManual.Click += new System.Windows.RoutedEventHandler(this.btnManual_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.lstHandpay = ((System.Windows.Controls.ListView)(target));
     
     #line 100 "..\..\..\Views\CViewHandpay.xaml"
     this.lstHandpay.Loaded += new System.Windows.RoutedEventHandler(this.lstHandpay_Loaded);
     
     #line default
     #line hidden
     
     #line 100 "..\..\..\Views\CViewHandpay.xaml"
     this.lstHandpay.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstHandpay_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnProcess = ((System.Windows.Controls.Button)(target));
     
     #line 116 "..\..\..\Views\CViewHandpay.xaml"
     this.btnProcess.Click += new System.Windows.RoutedEventHandler(this.btnProcess_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnVoid = ((System.Windows.Controls.Button)(target));
     
     #line 117 "..\..\..\Views\CViewHandpay.xaml"
     this.btnVoid.Click += new System.Windows.RoutedEventHandler(this.btnVoid_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnGenerateSlipNo = ((System.Windows.Controls.Button)(target));
     
     #line 118 "..\..\..\Views\CViewHandpay.xaml"
     this.btnGenerateSlipNo.Click += new System.Windows.RoutedEventHandler(this.btnGenerateSlipNo_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.GridManualHandpay = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.lblManualheader = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.lblSelectedheader = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.lblSelheaderValue = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.ucValueCalcComp = ((BMC.Presentation.ValueCalcComp)(target));
     return;
     case 14:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 157 "..\..\..\Views\CViewHandpay.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 158 "..\..\..\Views\CViewHandpay.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.pnlButtons = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 17:
     this.optHandpay = ((System.Windows.Controls.RadioButton)(target));
     
     #line 160 "..\..\..\Views\CViewHandpay.xaml"
     this.optHandpay.Checked += new System.Windows.RoutedEventHandler(this.optHandpay_Checked);
     
     #line default
     #line hidden
     return;
     case 18:
     this.optJackpot = ((System.Windows.Controls.RadioButton)(target));
     
     #line 161 "..\..\..\Views\CViewHandpay.xaml"
     this.optJackpot.Checked += new System.Windows.RoutedEventHandler(this.optJackpot_Checked);
     
     #line default
     #line hidden
     return;
     case 19:
     this.optProgressive = ((System.Windows.Controls.RadioButton)(target));
     
     #line 162 "..\..\..\Views\CViewHandpay.xaml"
     this.optProgressive.Checked += new System.Windows.RoutedEventHandler(this.optProgressive_Checked);
     
     #line default
     #line hidden
     return;
     case 20:
     this.gridCashDispenser = ((System.Windows.Controls.Grid)(target));
     return;
     case 21:
     this.dispenserStatus = ((BMC.Presentation.POS.UserControls.CashDispenserStatus)(target));
     return;
     case 22:
     this.TextBlock_11 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 23:
     this.txtAmount = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ViewHandpay = ((BMC.Presentation.CViewHandpay)(target));

            #line 13 "..\..\..\Views\CViewHandpay.xaml"
                this.ViewHandpay.Loaded += new System.Windows.RoutedEventHandler(this.ViewHandpay_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.GHandpay = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.btnManual = ((System.Windows.Controls.Button)(target));

            #line 99 "..\..\..\Views\CViewHandpay.xaml"
                this.btnManual.Click += new System.Windows.RoutedEventHandler(this.btnManual_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.lstHandpay = ((System.Windows.Controls.ListView)(target));

            #line 100 "..\..\..\Views\CViewHandpay.xaml"
                this.lstHandpay.Loaded += new System.Windows.RoutedEventHandler(this.lstHandpay_Loaded);

            #line default
            #line hidden

            #line 100 "..\..\..\Views\CViewHandpay.xaml"
                this.lstHandpay.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstHandpay_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 116 "..\..\..\Views\CViewHandpay.xaml"
                this.btnProcess.Click += new System.Windows.RoutedEventHandler(this.btnProcess_Click);

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\..\Views\CViewHandpay.xaml"
                this.btnVoid.Click += new System.Windows.RoutedEventHandler(this.btnVoid_Click);

            #line default
            #line hidden
                return;

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

            #line 118 "..\..\..\Views\CViewHandpay.xaml"
                this.btnGenerateSlipNo.Click += new System.Windows.RoutedEventHandler(this.btnGenerateSlipNo_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.GridManualHandpay = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 12:
                this.lblSelheaderValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.ucValueCalcComp = ((BMC.Presentation.ValueCalcComp)(target));
                return;

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

            #line 157 "..\..\..\Views\CViewHandpay.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 16:
                this.pnlButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 17:
                this.optHandpay = ((System.Windows.Controls.RadioButton)(target));

            #line 160 "..\..\..\Views\CViewHandpay.xaml"
                this.optHandpay.Checked += new System.Windows.RoutedEventHandler(this.optHandpay_Checked);

            #line default
            #line hidden
                return;

            case 18:
                this.optJackpot = ((System.Windows.Controls.RadioButton)(target));

            #line 161 "..\..\..\Views\CViewHandpay.xaml"
                this.optJackpot.Checked += new System.Windows.RoutedEventHandler(this.optJackpot_Checked);

            #line default
            #line hidden
                return;

            case 19:
                this.optProgressive = ((System.Windows.Controls.RadioButton)(target));

            #line 162 "..\..\..\Views\CViewHandpay.xaml"
                this.optProgressive.Checked += new System.Windows.RoutedEventHandler(this.optProgressive_Checked);

            #line default
            #line hidden
                return;

            case 20:
                this.gridCashDispenser = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.dispenserStatus = ((BMC.Presentation.POS.UserControls.CashDispenserStatus)(target));
                return;

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

            case 23:
                this.txtAmount = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 /// <summary>
 /// Initializes the cash dispenser.
 /// </summary>
 private void InitializeCashDispenser()
 {
     _worker = new CashDispenserWorker(this, ModuleName.ManualAttendantPay);
     _dispenserStatus = CashDispenserStatusHelper.AddCashDispenserStatus(gridCashDispenser);
 }
 public static CashDispenserStatus AddCashDispenserStatus(Panel parent)
 {
     CashDispenserStatus dispenserStatus = null;
     if (Settings.CashDispenserEnabled)
     {
         parent.Children.Add((
             dispenserStatus = new CashDispenserStatus()
             {
                 Height = 280,
                 HorizontalAlignment = HorizontalAlignment.Stretch,
                 VerticalAlignment = VerticalAlignment.Stretch
             }));
     }
     return dispenserStatus;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((BMC.Presentation.CRedeemTicket)(target));
     
     #line 2 "..\..\..\Views\CRedeemTicket.xaml"
     this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.gridCashDispenser = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.dispenserStatus = ((BMC.Presentation.POS.UserControls.CashDispenserStatus)(target));
     return;
     case 5:
     this.gridRedeemedTicket = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.txtPrintedMachine = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.lblPrintedMachine = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.txtClaimedDate = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.lblClaimedDate = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.txtClaimedDevice = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.lblClaimedDevice = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.txtTickAmount = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.lblTickAmount = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.ucValueCalc = ((BMC.Presentation.CTicketEntry)(target));
     return;
     case 15:
     this.gridTicScanDet = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.txtStatus = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.txtWarning = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     this.lblWarning = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 20:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.TextBlock_11 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 23:
     this.txtAmount = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.btnVerify = ((System.Windows.Controls.Button)(target));
     
     #line 116 "..\..\..\Views\CRedeemTicket.xaml"
     this.btnVerify.Click += new System.Windows.RoutedEventHandler(this.button_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.btnGetVoucherInfo = ((System.Windows.Controls.Button)(target));
     
     #line 117 "..\..\..\Views\CRedeemTicket.xaml"
     this.btnGetVoucherInfo.Click += new System.Windows.RoutedEventHandler(this.btnGetVoucherInfo_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }