void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MyWindow = ((DirectConnectionPredictControl.MainWindow)(target)); #line 12 "..\..\MainWindow.xaml" this.MyWindow.Loaded += new System.Windows.RoutedEventHandler(this.MyWindow_Loaded); #line default #line hidden return; case 2: #line 27 "..\..\MainWindow.xaml" ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.Storyboard_Completed); #line default #line hidden return; case 3: this.MainDashboard = ((DirectConnectionPredictControl.DashboardControls)(target)); return; case 4: #line 76 "..\..\MainWindow.xaml" ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown); #line default #line hidden return; case 5: this.miniumBtn = ((System.Windows.Controls.Button)(target)); #line 92 "..\..\MainWindow.xaml" this.miniumBtn.Click += new System.Windows.RoutedEventHandler(this.miniumBtn_Click); #line default #line hidden return; case 6: this.maximunBtn = ((System.Windows.Controls.Button)(target)); #line 93 "..\..\MainWindow.xaml" this.maximunBtn.Click += new System.Windows.RoutedEventHandler(this.maximun_Click); #line default #line hidden return; case 7: this.closeBtn = ((System.Windows.Controls.Button)(target)); #line 94 "..\..\MainWindow.xaml" this.closeBtn.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 8: this.fileItem = ((System.Windows.Controls.MenuItem)(target)); return; case 9: this.openFileItem = ((System.Windows.Controls.MenuItem)(target)); #line 106 "..\..\MainWindow.xaml" this.openFileItem.Click += new System.Windows.RoutedEventHandler(this.fileItem_Click); #line default #line hidden return; case 10: this.exportXls = ((System.Windows.Controls.MenuItem)(target)); #line 107 "..\..\MainWindow.xaml" this.exportXls.Click += new System.Windows.RoutedEventHandler(this.exportXls_Click); #line default #line hidden return; case 11: this.checkItem = ((System.Windows.Controls.MenuItem)(target)); return; case 12: this.OverViewItem = ((System.Windows.Controls.MenuItem)(target)); #line 110 "..\..\MainWindow.xaml" this.OverViewItem.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 13: this.chartView = ((System.Windows.Controls.MenuItem)(target)); #line 111 "..\..\MainWindow.xaml" this.chartView.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 14: this.chartViewItem = ((System.Windows.Controls.MenuItem)(target)); #line 112 "..\..\MainWindow.xaml" this.chartViewItem.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 15: this.singleViewItem = ((System.Windows.Controls.MenuItem)(target)); #line 113 "..\..\MainWindow.xaml" this.singleViewItem.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 16: this.nodeViewItem = ((System.Windows.Controls.MenuItem)(target)); #line 115 "..\..\MainWindow.xaml" this.nodeViewItem.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 17: this.vehicleViewItem = ((System.Windows.Controls.MenuItem)(target)); return; case 18: this.car1View = ((System.Windows.Controls.MenuItem)(target)); #line 117 "..\..\MainWindow.xaml" this.car1View.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 19: this.car2View = ((System.Windows.Controls.MenuItem)(target)); #line 118 "..\..\MainWindow.xaml" this.car2View.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 20: this.car3View = ((System.Windows.Controls.MenuItem)(target)); #line 119 "..\..\MainWindow.xaml" this.car3View.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 21: this.car4View = ((System.Windows.Controls.MenuItem)(target)); #line 120 "..\..\MainWindow.xaml" this.car4View.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 22: this.car5View = ((System.Windows.Controls.MenuItem)(target)); #line 121 "..\..\MainWindow.xaml" this.car5View.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 23: this.car6View = ((System.Windows.Controls.MenuItem)(target)); #line 122 "..\..\MainWindow.xaml" this.car6View.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 24: this.netViewItem = ((System.Windows.Controls.MenuItem)(target)); return; case 25: this.toolBarItem = ((System.Windows.Controls.MenuItem)(target)); return; case 26: this.stateBarItem = ((System.Windows.Controls.MenuItem)(target)); return; case 27: this.AntiskidItem = ((System.Windows.Controls.MenuItem)(target)); return; case 28: this.Antiskid_Display_Item = ((System.Windows.Controls.MenuItem)(target)); #line 128 "..\..\MainWindow.xaml" this.Antiskid_Display_Item.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 29: this.Antiskid_Setting_Item = ((System.Windows.Controls.MenuItem)(target)); #line 129 "..\..\MainWindow.xaml" this.Antiskid_Setting_Item.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 30: this.diagnosisItem = ((System.Windows.Controls.MenuItem)(target)); return; case 31: this.curFaultItem = ((System.Windows.Controls.MenuItem)(target)); return; case 32: this.eventLogItem = ((System.Windows.Controls.MenuItem)(target)); return; case 33: this.maintainItem = ((System.Windows.Controls.MenuItem)(target)); return; case 34: this.ftpDownloadItem = ((System.Windows.Controls.MenuItem)(target)); #line 137 "..\..\MainWindow.xaml" this.ftpDownloadItem.Click += new System.Windows.RoutedEventHandler(this.ftpDownloadItem_Click); #line default #line hidden return; case 35: this.wheelDiaItem = ((System.Windows.Controls.MenuItem)(target)); #line 138 "..\..\MainWindow.xaml" this.wheelDiaItem.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 36: this.rtcItem = ((System.Windows.Controls.MenuItem)(target)); return; case 37: this.mileageItem = ((System.Windows.Controls.MenuItem)(target)); return; case 38: this.uploadItem = ((System.Windows.Controls.MenuItem)(target)); #line 141 "..\..\MainWindow.xaml" this.uploadItem.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 39: this.selfInspectItem = ((System.Windows.Controls.MenuItem)(target)); return; case 40: this.resetGatewayItem = ((System.Windows.Controls.MenuItem)(target)); return; case 41: this.detectmmmItem = ((System.Windows.Controls.MenuItem)(target)); return; case 42: this.sendrioItem = ((System.Windows.Controls.MenuItem)(target)); return; case 43: this.rtdataItem = ((System.Windows.Controls.MenuItem)(target)); return; case 44: this.showPresentChartItem = ((System.Windows.Controls.MenuItem)(target)); #line 148 "..\..\MainWindow.xaml" this.showPresentChartItem.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 45: this.showSpeedChartItem = ((System.Windows.Controls.MenuItem)(target)); #line 149 "..\..\MainWindow.xaml" this.showSpeedChartItem.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 46: this.showPressureChartItem = ((System.Windows.Controls.MenuItem)(target)); #line 150 "..\..\MainWindow.xaml" this.showPressureChartItem.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 47: this.showOtherChartItem = ((System.Windows.Controls.MenuItem)(target)); #line 151 "..\..\MainWindow.xaml" this.showOtherChartItem.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 48: this.configScreenItem = ((System.Windows.Controls.MenuItem)(target)); return; case 49: this.newWndItem = ((System.Windows.Controls.MenuItem)(target)); return; case 50: this.optionItem = ((System.Windows.Controls.MenuItem)(target)); return; case 51: this.connectMethod = ((System.Windows.Controls.MenuItem)(target)); return; case 52: this.byEthItem = ((System.Windows.Controls.MenuItem)(target)); #line 158 "..\..\MainWindow.xaml" this.byEthItem.Checked += new System.Windows.RoutedEventHandler(this.byEthItem_Checked); #line default #line hidden return; case 53: this.byCanItem = ((System.Windows.Controls.MenuItem)(target)); #line 159 "..\..\MainWindow.xaml" this.byCanItem.Checked += new System.Windows.RoutedEventHandler(this.byCanItem_Checked); #line default #line hidden return; case 54: this.resumeItem = ((System.Windows.Controls.MenuItem)(target)); #line 161 "..\..\MainWindow.xaml" this.resumeItem.Click += new System.Windows.RoutedEventHandler(this.resumeItem_Click); #line default #line hidden return; case 55: this.busItem = ((System.Windows.Controls.MenuItem)(target)); return; case 56: this.detectNetItem = ((System.Windows.Controls.MenuItem)(target)); return; case 57: this.recordConfigItem = ((System.Windows.Controls.MenuItem)(target)); return; case 58: this.frequent16 = ((System.Windows.Controls.MenuItem)(target)); #line 165 "..\..\MainWindow.xaml" this.frequent16.Click += new System.Windows.RoutedEventHandler(this.RecordFreq); #line default #line hidden return; case 59: this.frequent32 = ((System.Windows.Controls.MenuItem)(target)); return; case 60: this.frequent64 = ((System.Windows.Controls.MenuItem)(target)); return; case 61: this.frequent128 = ((System.Windows.Controls.MenuItem)(target)); return; case 62: this.frequent256 = ((System.Windows.Controls.MenuItem)(target)); return; case 63: this.frequent512 = ((System.Windows.Controls.MenuItem)(target)); return; case 64: this.frequent1024 = ((System.Windows.Controls.MenuItem)(target)); return; case 65: this.wndItem = ((System.Windows.Controls.MenuItem)(target)); return; case 66: this.resetWndItem = ((System.Windows.Controls.MenuItem)(target)); return; case 67: this.tileWnDItem = ((System.Windows.Controls.MenuItem)(target)); return; case 68: this.aboutItem = ((System.Windows.Controls.MenuItem)(target)); return; case 69: this.userGuideItem = ((System.Windows.Controls.MenuItem)(target)); return; case 70: this.seriesNumItem = ((System.Windows.Controls.MenuItem)(target)); return; case 71: #line 186 "..\..\MainWindow.xaml" ((System.Windows.Controls.ToolBar)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded); #line default #line hidden return; case 72: this.trainHeaderFirstBtn = ((System.Windows.Controls.Button)(target)); #line 233 "..\..\MainWindow.xaml" this.trainHeaderFirstBtn.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 73: this.trainHeaderSecondBtn = ((System.Windows.Controls.Button)(target)); #line 243 "..\..\MainWindow.xaml" this.trainHeaderSecondBtn.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 74: this.trainMiddleFirstBtn = ((System.Windows.Controls.Button)(target)); #line 261 "..\..\MainWindow.xaml" this.trainMiddleFirstBtn.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 75: this.trainMiddleSecondBtn = ((System.Windows.Controls.Button)(target)); #line 271 "..\..\MainWindow.xaml" this.trainMiddleSecondBtn.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 76: this.trainTailFirstBtn = ((System.Windows.Controls.Button)(target)); #line 289 "..\..\MainWindow.xaml" this.trainTailFirstBtn.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; case 77: this.trainTailSecondBtn = ((System.Windows.Controls.Button)(target)); #line 299 "..\..\MainWindow.xaml" this.trainTailSecondBtn.Click += new System.Windows.RoutedEventHandler(this.ButtonClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MyWindow = ((DirectConnectionPredictControl.MainWindow)(target)); #line 12 "..\..\MainWindow.xaml" this.MyWindow.Loaded += new System.Windows.RoutedEventHandler(this.MyWindow_Loaded); #line default #line hidden return; case 2: #line 27 "..\..\MainWindow.xaml" ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.Storyboard_Completed); #line default #line hidden return; case 3: this.MainDashboard = ((DirectConnectionPredictControl.DashboardControls)(target)); return; case 4: #line 76 "..\..\MainWindow.xaml" ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown); #line default #line hidden return; case 5: this.miniumBtn = ((System.Windows.Controls.Button)(target)); #line 92 "..\..\MainWindow.xaml" this.miniumBtn.Click += new System.Windows.RoutedEventHandler(this.miniumBtn_Click); #line default #line hidden return; case 6: this.maximunBtn = ((System.Windows.Controls.Button)(target)); #line 93 "..\..\MainWindow.xaml" this.maximunBtn.Click += new System.Windows.RoutedEventHandler(this.maximun_Click); #line default #line hidden return; case 7: this.closeBtn = ((System.Windows.Controls.Button)(target)); return; case 8: this.fileItem = ((System.Windows.Controls.MenuItem)(target)); #line 105 "..\..\MainWindow.xaml" this.fileItem.Click += new System.Windows.RoutedEventHandler(this.fileItem_Click); #line default #line hidden return; case 9: this.openFileItem = ((System.Windows.Controls.MenuItem)(target)); return; case 10: this.saveFileItem = ((System.Windows.Controls.MenuItem)(target)); return; case 11: this.saveAsFileItem = ((System.Windows.Controls.MenuItem)(target)); return; case 12: this.quitItem = ((System.Windows.Controls.MenuItem)(target)); return; case 13: this.viewItem = ((System.Windows.Controls.MenuItem)(target)); return; case 14: this.overviewItem = ((System.Windows.Controls.MenuItem)(target)); return; case 15: this.bcuSingleItem = ((System.Windows.Controls.MenuItem)(target)); return; case 16: this.bcuDetailItem = ((System.Windows.Controls.MenuItem)(target)); return; case 17: this.canStateView = ((System.Windows.Controls.MenuItem)(target)); return; case 18: this.optionItem = ((System.Windows.Controls.MenuItem)(target)); return; case 19: this.showFaultitem = ((System.Windows.Controls.MenuItem)(target)); return; case 20: #line 135 "..\..\MainWindow.xaml" ((System.Windows.Controls.ToolBar)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded); #line default #line hidden return; case 21: this.trainHeaderFirstBtn = ((System.Windows.Controls.Button)(target)); #line 182 "..\..\MainWindow.xaml" this.trainHeaderFirstBtn.Click += new System.Windows.RoutedEventHandler(this.deatilButtonClick); #line default #line hidden return; case 22: this.trainHeaderSecondBtn = ((System.Windows.Controls.Button)(target)); return; case 23: this.trainMiddleFirstBtn = ((System.Windows.Controls.Button)(target)); return; case 24: this.trainMiddleSecondBtn = ((System.Windows.Controls.Button)(target)); return; case 25: this.trainTailFirstBtn = ((System.Windows.Controls.Button)(target)); return; case 26: this.trainTailSecondBtn = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }