void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\..\Dispatch\TruckRouteList.xaml" ((FH.Dispatch.Client.Dispatch.TruckRouteList)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.my_topmenu = ((FH.Dispatch.Client.Controls.TopMenu)(target)); return; case 3: this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target)); return; case 4: this.dataPager1 = ((FH.Dispatch.Client.Controls.Pager)(target)); return; case 5: this.tb_truck = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 7: this.btn_confirm = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\..\..\Dispatch\TruckRouteList.xaml" this.btn_confirm.Click += new System.Windows.RoutedEventHandler(this.btn_confirm_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\..\Manage\RouteIndex.xaml" ((FH.Dispatch.Client.Manage.RouteIndex)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 4 "..\..\..\..\Manage\RouteIndex.xaml" ((FH.Dispatch.Client.Manage.RouteIndex)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.my_topmenu = ((FH.Dispatch.Client.Controls.TopMenu)(target)); return; case 3: this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target)); #line 9 "..\..\..\..\Manage\RouteIndex.xaml" this.dataGrid1.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dataGrid1_CellEditEnding); #line default #line hidden #line 9 "..\..\..\..\Manage\RouteIndex.xaml" this.dataGrid1.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.dataGrid1_BeginningEdit); #line default #line hidden return; case 5: this.dataPager1 = ((FH.Dispatch.Client.Controls.Pager)(target)); return; case 6: this.btn_newroute = ((System.Windows.Controls.Button)(target)); #line 45 "..\..\..\..\Manage\RouteIndex.xaml" this.btn_newroute.Click += new System.Windows.RoutedEventHandler(this.btn_newroute_Click); #line default #line hidden return; case 7: this.button1 = ((System.Windows.Controls.Button)(target)); #line 46 "..\..\..\..\Manage\RouteIndex.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 8: this.btn_isvalid = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\..\..\Manage\RouteIndex.xaml" this.btn_isvalid.Click += new System.Windows.RoutedEventHandler(this.btn_isvalid_Click); #line default #line hidden return; case 9: this.btn_del = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\..\..\Manage\RouteIndex.xaml" this.btn_del.Click += new System.Windows.RoutedEventHandler(this.btn_del_Click); #line default #line hidden return; case 10: this.chk_all = ((System.Windows.Controls.CheckBox)(target)); #line 49 "..\..\..\..\Manage\RouteIndex.xaml" this.chk_all.Unchecked += new System.Windows.RoutedEventHandler(this.chk_all_Unchecked); #line default #line hidden #line 49 "..\..\..\..\Manage\RouteIndex.xaml" this.chk_all.Checked += new System.Windows.RoutedEventHandler(this.chk_all_Checked); #line default #line hidden return; case 11: this.btn_showpath = ((System.Windows.Controls.Button)(target)); #line 50 "..\..\..\..\Manage\RouteIndex.xaml" this.btn_showpath.Click += new System.Windows.RoutedEventHandler(this.btn_showpath_Click); #line default #line hidden return; } this._contentLoaded = true; }