void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((BMC.Presentation.POS.Views.PromoPrint)(target)); #line 5 "..\..\..\Views\PromoPrint.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.lblPromoTickType = ((System.Windows.Controls.Label)(target)); return; case 4: this.chkNonCash = ((System.Windows.Controls.CheckBox)(target)); #line 35 "..\..\..\Views\PromoPrint.xaml" this.chkNonCash.Unchecked += new System.Windows.RoutedEventHandler(this.chkNonCash_Changed); #line default #line hidden #line 36 "..\..\..\Views\PromoPrint.xaml" this.chkNonCash.Checked += new System.Windows.RoutedEventHandler(this.chkNonCash_Changed); #line default #line hidden return; case 5: this.chkCash = ((System.Windows.Controls.CheckBox)(target)); #line 40 "..\..\..\Views\PromoPrint.xaml" this.chkCash.Unchecked += new System.Windows.RoutedEventHandler(this.chkCash_Changed); #line default #line hidden #line 41 "..\..\..\Views\PromoPrint.xaml" this.chkCash.Checked += new System.Windows.RoutedEventHandler(this.chkCash_Changed); #line default #line hidden return; case 6: this.lblPromoName = ((System.Windows.Controls.Label)(target)); return; case 7: this.txtPromoName = ((System.Windows.Controls.TextBox)(target)); #line 50 "..\..\..\Views\PromoPrint.xaml" this.txtPromoName.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtPromoName_PreviewMouseUp); #line default #line hidden return; case 8: this.lblNumPromoTicks = ((System.Windows.Controls.Label)(target)); return; case 9: this.txtNumPromoTicks = ((System.Windows.Controls.TextBox)(target)); #line 59 "..\..\..\Views\PromoPrint.xaml" this.txtNumPromoTicks.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtNumPromoTicks_PreviewMouseUp); #line default #line hidden #line 59 "..\..\..\Views\PromoPrint.xaml" this.txtNumPromoTicks.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtNumPromoTicks_Change); #line default #line hidden #line 59 "..\..\..\Views\PromoPrint.xaml" this.txtNumPromoTicks.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtNumPromoTicks_KeyDown); #line default #line hidden return; case 10: this.lblPromoTickAmt = ((System.Windows.Controls.Label)(target)); return; case 11: this.txtPromoTickAmt = ((System.Windows.Controls.TextBox)(target)); #line 68 "..\..\..\Views\PromoPrint.xaml" this.txtPromoTickAmt.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtPromoTickAmt_PreviewMouseUp); #line default #line hidden #line 69 "..\..\..\Views\PromoPrint.xaml" this.txtPromoTickAmt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPromoTickAmt_Change); #line default #line hidden #line 69 "..\..\..\Views\PromoPrint.xaml" this.txtPromoTickAmt.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtPromoTickAmt_KeyDown); #line default #line hidden return; case 12: this.lblTotPromoTickVal = ((System.Windows.Controls.Label)(target)); return; case 13: this.txtTotPromoTickValData = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.lblPromoTickExp = ((System.Windows.Controls.Label)(target)); return; case 15: this.vbPromoTickExp = ((System.Windows.Controls.Viewbox)(target)); return; case 16: this.dtpPromoTickExp = ((Microsoft.Windows.Controls.DatePicker)(target)); #line 82 "..\..\..\Views\PromoPrint.xaml" this.dtpPromoTickExp.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.dtpPromoTickExp_SelectedDateChanged); #line default #line hidden return; case 17: this.txtPromoExpDate = ((System.Windows.Controls.TextBox)(target)); #line 84 "..\..\..\Views\PromoPrint.xaml" this.txtPromoExpDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPromoExpDate_TextChanged); #line default #line hidden return; case 18: this.tmpPromoExpTime = ((AC.AvalonControlsLibrary.Controls.TimePicker)(target)); return; case 19: this.gridTicScanDet = ((System.Windows.Controls.Grid)(target)); return; case 20: this.GrdMachine = ((System.Windows.Controls.Grid)(target)); return; case 21: this.txtPrinterName = ((System.Windows.Controls.TextBlock)(target)); return; case 22: this.lblSerialNumber = ((System.Windows.Controls.TextBlock)(target)); return; case 23: this.txtSerialNumber = ((System.Windows.Controls.TextBlock)(target)); return; case 24: this.BtnPrint = ((System.Windows.Controls.Button)(target)); #line 135 "..\..\..\Views\PromoPrint.xaml" this.BtnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPromotionalPrint_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((BMC.Presentation.POS.Views.PromoPrint)(target)); #line 5 "..\..\..\Views\PromoPrint.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.lblPromoTickType = ((System.Windows.Controls.Label)(target)); return; case 4: this.chkNonCash = ((System.Windows.Controls.CheckBox)(target)); #line 35 "..\..\..\Views\PromoPrint.xaml" this.chkNonCash.Unchecked += new System.Windows.RoutedEventHandler(this.chkNonCash_Changed); #line default #line hidden #line 36 "..\..\..\Views\PromoPrint.xaml" this.chkNonCash.Checked += new System.Windows.RoutedEventHandler(this.chkNonCash_Changed); #line default #line hidden return; case 5: this.chkCash = ((System.Windows.Controls.CheckBox)(target)); #line 40 "..\..\..\Views\PromoPrint.xaml" this.chkCash.Unchecked += new System.Windows.RoutedEventHandler(this.chkCash_Changed); #line default #line hidden #line 41 "..\..\..\Views\PromoPrint.xaml" this.chkCash.Checked += new System.Windows.RoutedEventHandler(this.chkCash_Changed); #line default #line hidden return; case 6: this.lblPromoName = ((System.Windows.Controls.Label)(target)); return; case 7: this.txtPromoName = ((System.Windows.Controls.TextBox)(target)); #line 50 "..\..\..\Views\PromoPrint.xaml" this.txtPromoName.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtPromoName_PreviewMouseUp); #line default #line hidden return; case 8: this.lblNumPromoTicks = ((System.Windows.Controls.Label)(target)); return; case 9: this.txtNumPromoTicks = ((System.Windows.Controls.TextBox)(target)); #line 59 "..\..\..\Views\PromoPrint.xaml" this.txtNumPromoTicks.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtNumPromoTicks_PreviewMouseUp); #line default #line hidden #line 59 "..\..\..\Views\PromoPrint.xaml" this.txtNumPromoTicks.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtNumPromoTicks_Change); #line default #line hidden #line 59 "..\..\..\Views\PromoPrint.xaml" this.txtNumPromoTicks.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtNumPromoTicks_KeyDown); #line default #line hidden return; case 10: this.lblPromoTickAmt = ((System.Windows.Controls.Label)(target)); return; case 11: this.txtPromoTickAmt = ((System.Windows.Controls.TextBox)(target)); #line 68 "..\..\..\Views\PromoPrint.xaml" this.txtPromoTickAmt.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtPromoTickAmt_PreviewMouseUp); #line default #line hidden #line 69 "..\..\..\Views\PromoPrint.xaml" this.txtPromoTickAmt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPromoTickAmt_Change); #line default #line hidden #line 69 "..\..\..\Views\PromoPrint.xaml" this.txtPromoTickAmt.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtPromoTickAmt_KeyDown); #line default #line hidden return; case 12: this.lblTotPromoTickVal = ((System.Windows.Controls.Label)(target)); return; case 13: this.txtTotPromoTickValData = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.lblPromoTickExp = ((System.Windows.Controls.Label)(target)); return; case 15: this.vbPromoTickExp = ((System.Windows.Controls.Viewbox)(target)); return; case 16: this.dtpPromoTickExp = ((Microsoft.Windows.Controls.DatePicker)(target)); #line 82 "..\..\..\Views\PromoPrint.xaml" this.dtpPromoTickExp.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dtpPromoTickExp_SelectedDateChanged); #line default #line hidden return; case 17: this.txtPromoExpDate = ((System.Windows.Controls.TextBox)(target)); #line 84 "..\..\..\Views\PromoPrint.xaml" this.txtPromoExpDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPromoExpDate_TextChanged); #line default #line hidden return; case 18: this.tmpPromoExpTime = ((AC.AvalonControlsLibrary.Controls.TimePicker)(target)); return; case 19: this.gridTicScanDet = ((System.Windows.Controls.Grid)(target)); return; case 20: this.GrdMachine = ((System.Windows.Controls.Grid)(target)); return; case 21: this.txtPrinterName = ((System.Windows.Controls.TextBlock)(target)); return; case 22: this.lblSerialNumber = ((System.Windows.Controls.TextBlock)(target)); return; case 23: this.txtSerialNumber = ((System.Windows.Controls.TextBlock)(target)); return; case 24: this.BtnPrint = ((System.Windows.Controls.Button)(target)); #line 135 "..\..\..\Views\PromoPrint.xaml" this.BtnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPromotionalPrint_Click); #line default #line hidden return; } this._contentLoaded = true; }