void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserCtrlPromoHist = ((BMC.Presentation.POS.Views.PromoHistory)(target)); #line 24 "..\..\..\Views\PromoHistory.xaml" this.UserCtrlPromoHist.Loaded += new System.Windows.RoutedEventHandler(this.UserCtrlPromoHist_Loaded); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.dgPromoHistGridView = ((Microsoft.Windows.Controls.DataGrid)(target)); #line 40 "..\..\..\Views\PromoHistory.xaml" this.dgPromoHistGridView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgPromoHistGridView_SelectionChanged); #line default #line hidden return; case 4: #line 63 "..\..\..\Views\PromoHistory.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnDetails_Click); #line default #line hidden return; case 5: #line 64 "..\..\..\Views\PromoHistory.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click); #line default #line hidden return; case 6: this.btnFirstClick = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\..\Views\PromoHistory.xaml" this.btnFirstClick.Click += new System.Windows.RoutedEventHandler(this.btnFirstClick_Click); #line default #line hidden return; case 7: this.btnPreviousClick = ((System.Windows.Controls.Button)(target)); #line 66 "..\..\..\Views\PromoHistory.xaml" this.btnPreviousClick.Click += new System.Windows.RoutedEventHandler(this.btnPreviousClick_Click); #line default #line hidden return; case 8: this.btnNextClick = ((System.Windows.Controls.Button)(target)); #line 67 "..\..\..\Views\PromoHistory.xaml" this.btnNextClick.Click += new System.Windows.RoutedEventHandler(this.btnNextClick_Click); #line default #line hidden return; case 9: this.btnLastClick = ((System.Windows.Controls.Button)(target)); #line 68 "..\..\..\Views\PromoHistory.xaml" this.btnLastClick.Click += new System.Windows.RoutedEventHandler(this.btnLastClick_Click); #line default #line hidden return; case 10: this.txtPageNo = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }