void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Declaration = ((BMC.Presentation.CDeclaration)(target)); return; case 2: this.grpOutstandingColl = ((System.Windows.Controls.GroupBox)(target)); return; case 3: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 4: this.lblHeader = ((System.Windows.Controls.Label)(target)); return; case 5: this.cboSiteCode = ((System.Windows.Controls.ComboBox)(target)); #line 38 "..\..\..\Views\CDeclaration.xaml" this.cboSiteCode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboSiteCode_SelectionChanged); #line default #line hidden return; case 6: this.cboMachineType = ((System.Windows.Controls.ComboBox)(target)); #line 41 "..\..\..\Views\CDeclaration.xaml" this.cboMachineType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboMachineType_SelectionChanged); #line default #line hidden return; case 7: this.cboFilterBy = ((System.Windows.Controls.ComboBox)(target)); #line 44 "..\..\..\Views\CDeclaration.xaml" this.cboFilterBy.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboFilterBy_SelectionChanged); #line default #line hidden return; case 8: this.txtFilterText = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.btnFilter = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\..\Views\CDeclaration.xaml" this.btnFilter.Click += new System.Windows.RoutedEventHandler(this.btnFilter_Click); #line default #line hidden return; case 10: this.dgDeclaration = ((Microsoft.Windows.Controls.DataGrid)(target)); #line 59 "..\..\..\Views\CDeclaration.xaml" this.dgDeclaration.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgDeclaration_SelectionChanged); #line default #line hidden #line 60 "..\..\..\Views\CDeclaration.xaml" this.dgDeclaration.Sorting += new Microsoft.Windows.Controls.DataGridSortingEventHandler(this.dgDeclaration_Sorting); #line default #line hidden return; case 11: this.pgDeclaration = ((System.Windows.Controls.ProgressBar)(target)); return; case 12: this.txtPGStatus = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.btnPrint = ((System.Windows.Controls.Button)(target)); #line 110 "..\..\..\Views\CDeclaration.xaml" this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click); #line default #line hidden return; case 14: this.btnAcceptAll = ((System.Windows.Controls.Button)(target)); #line 111 "..\..\..\Views\CDeclaration.xaml" this.btnAcceptAll.Click += new System.Windows.RoutedEventHandler(this.btnAcceptAll_Click); #line default #line hidden return; case 15: this.btnCashEntry = ((System.Windows.Controls.Button)(target)); #line 112 "..\..\..\Views\CDeclaration.xaml" this.btnCashEntry.Click += new System.Windows.RoutedEventHandler(this.btnCashEntry_Click); #line default #line hidden return; case 16: this.btnBillCounter = ((System.Windows.Controls.Button)(target)); #line 113 "..\..\..\Views\CDeclaration.xaml" this.btnBillCounter.Click += new System.Windows.RoutedEventHandler(this.btnBillCounter_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Declaration = ((BMC.Presentation.CDeclaration)(target)); return; case 2: this.grpOutstandingColl = ((System.Windows.Controls.GroupBox)(target)); return; case 3: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 4: this.lblHeader = ((System.Windows.Controls.Label)(target)); return; case 5: this.cboSiteCode = ((System.Windows.Controls.ComboBox)(target)); #line 38 "..\..\..\Views\CDeclaration.xaml" this.cboSiteCode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboSiteCode_SelectionChanged); #line default #line hidden return; case 6: this.cboMachineType = ((System.Windows.Controls.ComboBox)(target)); #line 41 "..\..\..\Views\CDeclaration.xaml" this.cboMachineType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboMachineType_SelectionChanged); #line default #line hidden return; case 7: this.cboFilterBy = ((System.Windows.Controls.ComboBox)(target)); #line 44 "..\..\..\Views\CDeclaration.xaml" this.cboFilterBy.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboFilterBy_SelectionChanged); #line default #line hidden return; case 8: this.txtFilterText = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.btnFilter = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\..\Views\CDeclaration.xaml" this.btnFilter.Click += new System.Windows.RoutedEventHandler(this.btnFilter_Click); #line default #line hidden return; case 10: this.dgDeclaration = ((Microsoft.Windows.Controls.DataGrid)(target)); #line 59 "..\..\..\Views\CDeclaration.xaml" this.dgDeclaration.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgDeclaration_SelectionChanged); #line default #line hidden #line 60 "..\..\..\Views\CDeclaration.xaml" this.dgDeclaration.Sorting += new Microsoft.Windows.Controls.DataGridSortingEventHandler(this.dgDeclaration_Sorting); #line default #line hidden return; case 11: this.pgDeclaration = ((System.Windows.Controls.ProgressBar)(target)); return; case 12: this.txtPGStatus = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.btnPrint = ((System.Windows.Controls.Button)(target)); #line 110 "..\..\..\Views\CDeclaration.xaml" this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click); #line default #line hidden return; case 14: this.btnAcceptAll = ((System.Windows.Controls.Button)(target)); #line 111 "..\..\..\Views\CDeclaration.xaml" this.btnAcceptAll.Click += new System.Windows.RoutedEventHandler(this.btnAcceptAll_Click); #line default #line hidden return; case 15: this.btnCashEntry = ((System.Windows.Controls.Button)(target)); #line 112 "..\..\..\Views\CDeclaration.xaml" this.btnCashEntry.Click += new System.Windows.RoutedEventHandler(this.btnCashEntry_Click); #line default #line hidden return; case 16: this.btnBillCounter = ((System.Windows.Controls.Button)(target)); #line 113 "..\..\..\Views\CDeclaration.xaml" this.btnBillCounter.Click += new System.Windows.RoutedEventHandler(this.btnBillCounter_Click); #line default #line hidden return; } this._contentLoaded = true; }