private void chkAttendantPays_Checked(object sender, RoutedEventArgs e) { try { PrintTicket = null; RedeemTicket = null; Attendantpays = new CAttendantPays(); pnlTicketContent.Child = Attendantpays; Attendantpays.Margin = new Thickness(0); } catch (Exception ex) { ExceptionManager.Publish(ex); } finally { chkRedeem.IsEnabled = true; } }
private void chkPrint_Checked(object sender, RoutedEventArgs e) { try { chkPrint.IsEnabled = false; RedeemTicket = null; PrintTicket = new CPrintTicket(); pnlTicketContent.Child = PrintTicket; PrintTicket.Margin = new Thickness(0); } catch (Exception ex) { ExceptionManager.Publish(ex); } finally { chkPrint.IsEnabled = true; } }
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; }
private void chkVoid_Checked(object sender, RoutedEventArgs e) { try { chkVoid.IsEnabled = false; PrintTicket = null; RedeemTicket = null; VoidTicket = new CVoidTicket(); pnlTicketContent.Child = VoidTicket; VoidTicket.Margin = new Thickness(0); } catch (Exception ex) { ExceptionManager.Publish(ex); } finally { chkVoid.IsEnabled = 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; } }