void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.frmContract_Display_Tenant = ((StartsInternational.Contract.Display.Contract_Display_Tenat)(target)); #line 8 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.frmContract_Display_Tenant.Loaded += new System.Windows.RoutedEventHandler(this.frmContract_Display_Loaded); #line default #line hidden #line 8 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.frmContract_Display_Tenant.KeyDown += new System.Windows.Input.KeyEventHandler(this.frmContract_Display_KeyDown); #line default #line hidden return; case 2: #line 12 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnInsert_Click); #line default #line hidden return; case 3: #line 13 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click); #line default #line hidden return; case 4: #line 14 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click); #line default #line hidden return; case 5: #line 15 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnView_Click); #line default #line hidden return; case 6: #line 16 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnPay_Click_1); #line default #line hidden return; case 7: #line 17 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRequestPay_Click); #line default #line hidden return; case 8: this.txtCode = ((StartsInternational.CustomUserControl.AutoCompleteTextBox)(target)); return; case 9: this.cboBuilding = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.txtObject_Name = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.cboStatus = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this.cboFee = ((System.Windows.Controls.ComboBox)(target)); return; case 13: this.btnSearch = ((System.Windows.Controls.Button)(target)); #line 49 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click_1); #line default #line hidden return; case 14: this.btnExport = ((System.Windows.Controls.Button)(target)); #line 50 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click_1); #line default #line hidden return; case 15: this.dgrContract = ((System.Windows.Controls.DataGrid)(target)); #line 54 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.dgrContract.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dgrContract_LoadingRow); #line default #line hidden #line 54 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.dgrContract.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.dgrContract_PreviewKeyDown); #line default #line hidden return; case 17: this.btnInsert = ((System.Windows.Controls.Button)(target)); #line 85 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.btnInsert.Click += new System.Windows.RoutedEventHandler(this.btnInsert_Click); #line default #line hidden return; case 18: this.btnUpdate = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click); #line default #line hidden return; case 19: this.btnDelete = ((System.Windows.Controls.Button)(target)); #line 87 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click); #line default #line hidden return; case 20: this.btnView = ((System.Windows.Controls.Button)(target)); #line 88 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.btnView.Click += new System.Windows.RoutedEventHandler(this.btnView_Click); #line default #line hidden return; case 21: this.btnPay = ((System.Windows.Controls.Button)(target)); #line 89 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.btnPay.Click += new System.Windows.RoutedEventHandler(this.btnPay_Click_1); #line default #line hidden return; case 22: this.btnRequestPay = ((System.Windows.Controls.Button)(target)); #line 90 "..\..\..\..\Contract\Display\Contract_Display_Tenat.xaml" this.btnRequestPay.Click += new System.Windows.RoutedEventHandler(this.btnRequestPay_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.frmReport_Ky_Y = ((StartsInternational.Report.Report_Ky_Y)(target)); #line 8 "..\..\..\Report\Report_Ky_Y.xaml" this.frmReport_Ky_Y.Loaded += new System.Windows.RoutedEventHandler(this.frmReport_Ky_Y_Loaded_1); #line default #line hidden #line 8 "..\..\..\Report\Report_Ky_Y.xaml" this.frmReport_Ky_Y.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.frmReport_Ky_Y_PreviewKeyDown_1); #line default #line hidden return; case 2: #line 12 "..\..\..\Report\Report_Ky_Y.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnView_Click); #line default #line hidden return; case 3: #line 13 "..\..\..\Report\Report_Ky_Y.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnExport_Click_1); #line default #line hidden return; case 4: this.txtCode = ((StartsInternational.CustomUserControl.AutoCompleteTextBox)(target)); return; case 5: this.cboBuilding = ((System.Windows.Controls.ComboBox)(target)); return; case 6: this.cboStatus = ((System.Windows.Controls.ComboBox)(target)); return; case 7: this.btnSearch = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\..\Report\Report_Ky_Y.xaml" this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click_1); #line default #line hidden return; case 8: this.btnExport = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\..\Report\Report_Ky_Y.xaml" this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click_1); #line default #line hidden return; case 9: this.dgrContract = ((System.Windows.Controls.DataGrid)(target)); #line 38 "..\..\..\Report\Report_Ky_Y.xaml" this.dgrContract.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dgrContract_LoadingRow); #line default #line hidden #line 38 "..\..\..\Report\Report_Ky_Y.xaml" this.dgrContract.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.dgrContract_PreviewKeyDown); #line default #line hidden return; } this._contentLoaded = true; }