Esempio n. 1
0
 private void chkManualAttendantPays_Checked(object sender, RoutedEventArgs e)
 {
     try
     {
         PrintTicket                = null;
         RedeemTicket               = null;
         Attendantpays              = null;
         ManualAttendantpays        = new CManualAttendantPays();
         pnlTicketContent.Child     = ManualAttendantpays;
         ManualAttendantpays.Margin = new Thickness(0);
     }
     catch (Exception ex)
     {
         ExceptionManager.Publish(ex);
     }
     finally
     {
         chkRedeem.IsEnabled = true;
     }
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ManualAttendantPay = ((BMC.Presentation.CManualAttendantPays)(target));
     
     #line 11 "..\..\..\Views\CManualAttendantPays.xaml"
     this.ManualAttendantPay.Loaded += new System.Windows.RoutedEventHandler(this.ManualAttendantPay_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.GridManualHandpay = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.lblcashdeskheader = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.ucValueCalcComp = ((BMC.Presentation.ValueCalcComp)(target));
     return;
     case 6:
     this.cmbBarPositions = ((System.Windows.Controls.ComboBox)(target));
     
     #line 40 "..\..\..\Views\CManualAttendantPays.xaml"
     this.cmbBarPositions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbBarPositions_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 41 "..\..\..\Views\CManualAttendantPays.xaml"
     this.cmbBarPositions.GotFocus += new System.Windows.RoutedEventHandler(this.cmbBarPositions_GotFocus);
     
     #line default
     #line hidden
     
     #line 41 "..\..\..\Views\CManualAttendantPays.xaml"
     this.cmbBarPositions.KeyDown += new System.Windows.Input.KeyEventHandler(this.cmbBarPositions_KeyDown);
     
     #line default
     #line hidden
     return;
     case 7:
     this.pnlButtons = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.optHandpay = ((System.Windows.Controls.RadioButton)(target));
     
     #line 45 "..\..\..\Views\CManualAttendantPays.xaml"
     this.optHandpay.Checked += new System.Windows.RoutedEventHandler(this.chkChecked_Checked);
     
     #line default
     #line hidden
     return;
     case 9:
     this.optJackpot = ((System.Windows.Controls.RadioButton)(target));
     
     #line 46 "..\..\..\Views\CManualAttendantPays.xaml"
     this.optJackpot.Checked += new System.Windows.RoutedEventHandler(this.chkChecked_Checked);
     
     #line default
     #line hidden
     return;
     case 10:
     this.optProgressive = ((System.Windows.Controls.RadioButton)(target));
     
     #line 47 "..\..\..\Views\CManualAttendantPays.xaml"
     this.optProgressive.Checked += new System.Windows.RoutedEventHandler(this.chkChecked_Checked);
     
     #line default
     #line hidden
     return;
     case 11:
     this.gridCashDispenser = ((System.Windows.Controls.Grid)(target));
     return;
     case 12:
     this.TextBlock_11 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.txtAmount = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 69 "..\..\..\Views\CManualAttendantPays.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 70 "..\..\..\Views\CManualAttendantPays.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 private void chkManualAttendantPays_Checked(object sender, RoutedEventArgs e)
 {
     try
     {
         PrintTicket = null;
         RedeemTicket = null;
         Attendantpays = null;
         ManualAttendantpays = new CManualAttendantPays();
         pnlTicketContent.Child = ManualAttendantpays;
         ManualAttendantpays.Margin = new Thickness(0);
     }
     catch (Exception ex)
     {
         ExceptionManager.Publish(ex);
     }
     finally
     {
         chkRedeem.IsEnabled = true;
     }
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ManualAttendantPay = ((BMC.Presentation.CManualAttendantPays)(target));

            #line 11 "..\..\..\Views\CManualAttendantPays.xaml"
                this.ManualAttendantPay.Loaded += new System.Windows.RoutedEventHandler(this.ManualAttendantPay_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

            case 6:
                this.cmbBarPositions = ((System.Windows.Controls.ComboBox)(target));

            #line 40 "..\..\..\Views\CManualAttendantPays.xaml"
                this.cmbBarPositions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbBarPositions_SelectionChanged);

            #line default
            #line hidden

            #line 41 "..\..\..\Views\CManualAttendantPays.xaml"
                this.cmbBarPositions.GotFocus += new System.Windows.RoutedEventHandler(this.cmbBarPositions_GotFocus);

            #line default
            #line hidden

            #line 41 "..\..\..\Views\CManualAttendantPays.xaml"
                this.cmbBarPositions.KeyDown += new System.Windows.Input.KeyEventHandler(this.cmbBarPositions_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 45 "..\..\..\Views\CManualAttendantPays.xaml"
                this.optHandpay.Checked += new System.Windows.RoutedEventHandler(this.chkChecked_Checked);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\Views\CManualAttendantPays.xaml"
                this.optJackpot.Checked += new System.Windows.RoutedEventHandler(this.chkChecked_Checked);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\..\Views\CManualAttendantPays.xaml"
                this.optProgressive.Checked += new System.Windows.RoutedEventHandler(this.chkChecked_Checked);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 69 "..\..\..\Views\CManualAttendantPays.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 70 "..\..\..\Views\CManualAttendantPays.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }