void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((BMC.Presentation.POS.Views.VoucherDetails)(target)); #line 10 "..\..\..\Views\VoucherDetails.xaml" this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: #line 48 "..\..\..\Views\VoucherDetails.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 3: this.MasterGrid = ((System.Windows.Controls.Grid)(target)); return; case 4: this.gbBasicInfo = ((System.Windows.Controls.GroupBox)(target)); return; case 5: this.lblSiteCode = ((System.Windows.Controls.Label)(target)); return; case 6: this.txtSiteCode = ((System.Windows.Controls.TextBox)(target)); #line 86 "..\..\..\Views\VoucherDetails.xaml" this.txtSiteCode.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 7: this.lblBarCode = ((System.Windows.Controls.Label)(target)); return; case 8: this.txtBarCode = ((System.Windows.Controls.TextBox)(target)); #line 94 "..\..\..\Views\VoucherDetails.xaml" this.txtBarCode.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 9: this.lblVoucherType = ((System.Windows.Controls.Label)(target)); return; case 10: this.txtVoucherType = ((System.Windows.Controls.TextBox)(target)); #line 101 "..\..\..\Views\VoucherDetails.xaml" this.txtVoucherType.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 11: this.lblPrintedDevice = ((System.Windows.Controls.Label)(target)); return; case 12: this.txtPrintedDevice = ((System.Windows.Controls.TextBox)(target)); #line 108 "..\..\..\Views\VoucherDetails.xaml" this.txtPrintedDevice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 13: this.lblPrintedDate = ((System.Windows.Controls.Label)(target)); return; case 14: this.txtPrintedDate = ((System.Windows.Controls.TextBox)(target)); #line 116 "..\..\..\Views\VoucherDetails.xaml" this.txtPrintedDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 15: this.lblExpiryDate = ((System.Windows.Controls.Label)(target)); return; case 16: this.txtExpiryDate = ((System.Windows.Controls.TextBox)(target)); #line 123 "..\..\..\Views\VoucherDetails.xaml" this.txtExpiryDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 17: this.lblEffectiveDate = ((System.Windows.Controls.Label)(target)); return; case 18: this.txtEffectiveDate = ((System.Windows.Controls.TextBox)(target)); #line 130 "..\..\..\Views\VoucherDetails.xaml" this.txtEffectiveDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 19: this.lblAmount = ((System.Windows.Controls.Label)(target)); return; case 20: this.txtAmount = ((System.Windows.Controls.TextBox)(target)); #line 137 "..\..\..\Views\VoucherDetails.xaml" this.txtAmount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 21: this.lblStatus = ((System.Windows.Controls.Label)(target)); return; case 22: this.txtStatus = ((System.Windows.Controls.TextBox)(target)); #line 144 "..\..\..\Views\VoucherDetails.xaml" this.txtStatus.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 23: this.lblIssuedUser = ((System.Windows.Controls.Label)(target)); return; case 24: this.txtIssuedUserName = ((System.Windows.Controls.TextBox)(target)); #line 152 "..\..\..\Views\VoucherDetails.xaml" this.txtIssuedUserName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 25: this.right = ((System.Windows.Controls.Grid)(target)); return; case 26: this.gbRedeemInfo = ((System.Windows.Controls.GroupBox)(target)); return; case 27: this.lblRedeemDate = ((System.Windows.Controls.Label)(target)); return; case 28: this.txtRedeemDate = ((System.Windows.Controls.TextBox)(target)); #line 204 "..\..\..\Views\VoucherDetails.xaml" this.txtRedeemDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 29: this.lblRedeemDevice = ((System.Windows.Controls.Label)(target)); return; case 30: this.txtRedeemDevice = ((System.Windows.Controls.TextBox)(target)); #line 210 "..\..\..\Views\VoucherDetails.xaml" this.txtRedeemDevice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 31: this.lblRedeemUser = ((System.Windows.Controls.Label)(target)); return; case 32: this.txtRedeemUser = ((System.Windows.Controls.TextBox)(target)); #line 216 "..\..\..\Views\VoucherDetails.xaml" this.txtRedeemUser.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 33: this.lblRedeemSiteCode = ((System.Windows.Controls.Label)(target)); return; case 34: this.txtRedeemSiteCode = ((System.Windows.Controls.TextBox)(target)); #line 222 "..\..\..\Views\VoucherDetails.xaml" this.txtRedeemSiteCode.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 35: this.gbVoidInfo = ((System.Windows.Controls.GroupBox)(target)); return; case 36: this.lblVoidDate = ((System.Windows.Controls.Label)(target)); return; case 37: this.txtVoidDate = ((System.Windows.Controls.TextBox)(target)); #line 239 "..\..\..\Views\VoucherDetails.xaml" this.txtVoidDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 38: this.lblVoidDevice = ((System.Windows.Controls.Label)(target)); return; case 39: this.txtVoidDevice = ((System.Windows.Controls.TextBox)(target)); #line 241 "..\..\..\Views\VoucherDetails.xaml" this.txtVoidDevice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 40: this.lblVoidUser = ((System.Windows.Controls.Label)(target)); return; case 41: this.txtVoidUser = ((System.Windows.Controls.TextBox)(target)); #line 243 "..\..\..\Views\VoucherDetails.xaml" this.txtVoidUser.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 42: this.gbErrorInfo = ((System.Windows.Controls.GroupBox)(target)); return; case 43: this.lblErrorDescription = ((System.Windows.Controls.Label)(target)); return; case 44: this.txtErrorDescription = ((System.Windows.Controls.TextBox)(target)); #line 259 "..\..\..\Views\VoucherDetails.xaml" this.txtErrorDescription.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 45: this.lblErrorDevice = ((System.Windows.Controls.Label)(target)); return; case 46: this.txtErrorDevice = ((System.Windows.Controls.TextBox)(target)); #line 261 "..\..\..\Views\VoucherDetails.xaml" this.txtErrorDevice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 47: #line 267 "..\..\..\Views\VoucherDetails.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((BMC.Presentation.POS.Views.VoucherDetails)(target)); #line 10 "..\..\..\Views\VoucherDetails.xaml" this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: #line 48 "..\..\..\Views\VoucherDetails.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 3: this.MasterGrid = ((System.Windows.Controls.Grid)(target)); return; case 4: this.gbBasicInfo = ((System.Windows.Controls.GroupBox)(target)); return; case 5: this.lblSiteCode = ((System.Windows.Controls.Label)(target)); return; case 6: this.txtSiteCode = ((System.Windows.Controls.TextBox)(target)); #line 86 "..\..\..\Views\VoucherDetails.xaml" this.txtSiteCode.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 7: this.lblBarCode = ((System.Windows.Controls.Label)(target)); return; case 8: this.txtBarCode = ((System.Windows.Controls.TextBox)(target)); #line 94 "..\..\..\Views\VoucherDetails.xaml" this.txtBarCode.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 9: this.lblVoucherType = ((System.Windows.Controls.Label)(target)); return; case 10: this.txtVoucherType = ((System.Windows.Controls.TextBox)(target)); #line 101 "..\..\..\Views\VoucherDetails.xaml" this.txtVoucherType.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 11: this.lblPrintedDevice = ((System.Windows.Controls.Label)(target)); return; case 12: this.txtPrintedDevice = ((System.Windows.Controls.TextBox)(target)); #line 108 "..\..\..\Views\VoucherDetails.xaml" this.txtPrintedDevice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 13: this.lblPrintedDate = ((System.Windows.Controls.Label)(target)); return; case 14: this.txtPrintedDate = ((System.Windows.Controls.TextBox)(target)); #line 116 "..\..\..\Views\VoucherDetails.xaml" this.txtPrintedDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 15: this.lblExpiryDate = ((System.Windows.Controls.Label)(target)); return; case 16: this.txtExpiryDate = ((System.Windows.Controls.TextBox)(target)); #line 123 "..\..\..\Views\VoucherDetails.xaml" this.txtExpiryDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 17: this.lblEffectiveDate = ((System.Windows.Controls.Label)(target)); return; case 18: this.txtEffectiveDate = ((System.Windows.Controls.TextBox)(target)); #line 130 "..\..\..\Views\VoucherDetails.xaml" this.txtEffectiveDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 19: this.lblAmount = ((System.Windows.Controls.Label)(target)); return; case 20: this.txtAmount = ((System.Windows.Controls.TextBox)(target)); #line 137 "..\..\..\Views\VoucherDetails.xaml" this.txtAmount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 21: this.lblStatus = ((System.Windows.Controls.Label)(target)); return; case 22: this.txtStatus = ((System.Windows.Controls.TextBox)(target)); #line 144 "..\..\..\Views\VoucherDetails.xaml" this.txtStatus.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 23: this.lblIssuedUser = ((System.Windows.Controls.Label)(target)); return; case 24: this.txtIssuedUserName = ((System.Windows.Controls.TextBox)(target)); #line 152 "..\..\..\Views\VoucherDetails.xaml" this.txtIssuedUserName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 25: this.right = ((System.Windows.Controls.Grid)(target)); return; case 26: this.gbRedeemInfo = ((System.Windows.Controls.GroupBox)(target)); return; case 27: this.lblRedeemDate = ((System.Windows.Controls.Label)(target)); return; case 28: this.txtRedeemDate = ((System.Windows.Controls.TextBox)(target)); #line 204 "..\..\..\Views\VoucherDetails.xaml" this.txtRedeemDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 29: this.lblRedeemDevice = ((System.Windows.Controls.Label)(target)); return; case 30: this.txtRedeemDevice = ((System.Windows.Controls.TextBox)(target)); #line 210 "..\..\..\Views\VoucherDetails.xaml" this.txtRedeemDevice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 31: this.lblRedeemUser = ((System.Windows.Controls.Label)(target)); return; case 32: this.txtRedeemUser = ((System.Windows.Controls.TextBox)(target)); #line 216 "..\..\..\Views\VoucherDetails.xaml" this.txtRedeemUser.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 33: this.lblRedeemSiteCode = ((System.Windows.Controls.Label)(target)); return; case 34: this.txtRedeemSiteCode = ((System.Windows.Controls.TextBox)(target)); #line 222 "..\..\..\Views\VoucherDetails.xaml" this.txtRedeemSiteCode.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 35: this.gbVoidInfo = ((System.Windows.Controls.GroupBox)(target)); return; case 36: this.lblVoidDate = ((System.Windows.Controls.Label)(target)); return; case 37: this.txtVoidDate = ((System.Windows.Controls.TextBox)(target)); #line 239 "..\..\..\Views\VoucherDetails.xaml" this.txtVoidDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 38: this.lblVoidDevice = ((System.Windows.Controls.Label)(target)); return; case 39: this.txtVoidDevice = ((System.Windows.Controls.TextBox)(target)); #line 241 "..\..\..\Views\VoucherDetails.xaml" this.txtVoidDevice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 40: this.lblVoidUser = ((System.Windows.Controls.Label)(target)); return; case 41: this.txtVoidUser = ((System.Windows.Controls.TextBox)(target)); #line 243 "..\..\..\Views\VoucherDetails.xaml" this.txtVoidUser.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 42: this.gbErrorInfo = ((System.Windows.Controls.GroupBox)(target)); return; case 43: this.lblErrorDescription = ((System.Windows.Controls.Label)(target)); return; case 44: this.txtErrorDescription = ((System.Windows.Controls.TextBox)(target)); #line 259 "..\..\..\Views\VoucherDetails.xaml" this.txtErrorDescription.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 45: this.lblErrorDevice = ((System.Windows.Controls.Label)(target)); return; case 46: this.txtErrorDevice = ((System.Windows.Controls.TextBox)(target)); #line 261 "..\..\..\Views\VoucherDetails.xaml" this.txtErrorDevice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSiteCode_TextChanged); #line default #line hidden return; case 47: #line 267 "..\..\..\Views\VoucherDetails.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }