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; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\..\Dispatch\Index.xaml" ((FH.Dispatch.Client.Dispatch.Index)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden #line 4 "..\..\..\..\Dispatch\Index.xaml" ((FH.Dispatch.Client.Dispatch.Index)(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.cb_packtype = ((System.Windows.Controls.ComboBox)(target)); #line 7 "..\..\..\..\Dispatch\Index.xaml" this.cb_packtype.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_packtype_SelectionChanged); #line default #line hidden return; case 4: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 5: this.cb_pack_route = ((System.Windows.Controls.ComboBox)(target)); #line 12 "..\..\..\..\Dispatch\Index.xaml" this.cb_pack_route.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_pack_route_SelectionChanged); #line default #line hidden return; case 6: this.btn_start = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\..\..\Dispatch\Index.xaml" this.btn_start.Click += new System.Windows.RoutedEventHandler(this.btn_start_Click); #line default #line hidden return; case 7: this.rtb_result = ((System.Windows.Controls.RichTextBox)(target)); return; case 8: this.btn_showroute = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\..\..\Dispatch\Index.xaml" this.btn_showroute.Click += new System.Windows.RoutedEventHandler(this.btn_showroute_Click); #line default #line hidden return; case 9: this.cb_downpack_route = ((System.Windows.Controls.ComboBox)(target)); #line 18 "..\..\..\..\Dispatch\Index.xaml" this.cb_downpack_route.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_downpack_route_SelectionChanged); #line default #line hidden return; case 10: this.label7 = ((System.Windows.Controls.Label)(target)); return; case 11: this.cb_pack_layer = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this.cb_downpack_layer = ((System.Windows.Controls.ComboBox)(target)); return; case 13: this.label9 = ((System.Windows.Controls.Label)(target)); return; case 14: this.lb_truck_status = ((System.Windows.Controls.Label)(target)); return; case 15: this.btn_showtruck = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\..\..\Dispatch\Index.xaml" this.btn_showtruck.Click += new System.Windows.RoutedEventHandler(this.btn_showtruck_Click); #line default #line hidden return; case 16: this.x_sbar = ((FH.Dispatch.Client.Controls.FootBar)(target)); return; case 17: this.label10 = ((System.Windows.Controls.Label)(target)); return; case 18: this.label11 = ((System.Windows.Controls.Label)(target)); return; case 19: this.btn_clear = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\..\..\Dispatch\Index.xaml" this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.btn_clear_Click); #line default #line hidden return; case 20: this.btn_stop = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\..\..\Dispatch\Index.xaml" this.btn_stop.Click += new System.Windows.RoutedEventHandler(this.btn_stop_Click); #line default #line hidden return; case 21: this.btn_select1 = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\..\..\Dispatch\Index.xaml" this.btn_select1.Click += new System.Windows.RoutedEventHandler(this.btn_select1_Click); #line default #line hidden return; case 22: this.btn_select2 = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\..\..\Dispatch\Index.xaml" this.btn_select2.Click += new System.Windows.RoutedEventHandler(this.btn_select2_Click); #line default #line hidden return; case 23: this.btn_refresh = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\..\..\Dispatch\Index.xaml" this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.btn_refresh_Click); #line default #line hidden return; case 24: this.lb_inout_status = ((System.Windows.Controls.Label)(target)); return; case 25: this.cb_trucklist = ((System.Windows.Controls.ComboBox)(target)); return; case 26: this.label1 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }