void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((ControlPannel.MainWindow)(target)); #line 11 "..\..\MainWindow.xaml" this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.DockPanel)(target)); return; case 3: this.btnPowerOn = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 20 "..\..\MainWindow.xaml" this.btnPowerOn.Click += new System.Windows.RoutedEventHandler(this.btnPowerOn_Click); #line default #line hidden return; case 4: this.tbPowerOn = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.stb = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 6: this.tbStatusBar = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.btnResetConfirm = ((System.Windows.Controls.Button)(target)); #line 105 "..\..\MainWindow.xaml" this.btnResetConfirm.Click += new System.Windows.RoutedEventHandler(this.btnResetConfirm_Click); #line default #line hidden return; case 8: this.cbMode = ((System.Windows.Controls.ComboBox)(target)); #line 109 "..\..\MainWindow.xaml" this.cbMode.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Loaded); #line default #line hidden return; case 9: this.btnModeConfirm = ((System.Windows.Controls.Button)(target)); #line 111 "..\..\MainWindow.xaml" this.btnModeConfirm.Click += new System.Windows.RoutedEventHandler(this.btnModeConfirm_Click); #line default #line hidden return; case 10: this.gbTrajTransfer = ((System.Windows.Controls.GroupBox)(target)); return; case 11: this.tbFileName = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.tbFrameCount = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.btnLoadFile = ((System.Windows.Controls.Button)(target)); #line 125 "..\..\MainWindow.xaml" this.btnLoadFile.Click += new System.Windows.RoutedEventHandler(this.btnLoadFile_Click); #line default #line hidden return; case 14: this.btnStartTransfer = ((System.Windows.Controls.Button)(target)); #line 126 "..\..\MainWindow.xaml" this.btnStartTransfer.Click += new System.Windows.RoutedEventHandler(this.btnStartTransfer_Click); #line default #line hidden return; case 15: this.btnStartMovement = ((System.Windows.Controls.Button)(target)); #line 129 "..\..\MainWindow.xaml" this.btnStartMovement.Click += new System.Windows.RoutedEventHandler(this.btnStartMovement_Click); #line default #line hidden return; case 16: #line 135 "..\..\MainWindow.xaml" ((System.Windows.Controls.StackPanel)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_PreviewMouseLeftButtonDown); #line default #line hidden #line 135 "..\..\MainWindow.xaml" ((System.Windows.Controls.StackPanel)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_PreviewMouseLeftButtonUp); #line default #line hidden return; case 17: this.sdrS1 = ((System.Windows.Controls.Slider)(target)); return; case 18: this.sdrS2 = ((System.Windows.Controls.Slider)(target)); return; case 19: this.sdrS3 = ((System.Windows.Controls.Slider)(target)); return; case 20: this.sdrS4 = ((System.Windows.Controls.Slider)(target)); return; case 21: this.tbS1 = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.tbS2 = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.tbS3 = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.tbS4 = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.btnPullS1 = ((System.Windows.Controls.Button)(target)); return; case 26: this.btnReleaseS1 = ((System.Windows.Controls.Button)(target)); return; case 27: this.btnPullS2 = ((System.Windows.Controls.Button)(target)); return; case 28: this.btnReleaseS2 = ((System.Windows.Controls.Button)(target)); return; case 29: this.btnPullS3 = ((System.Windows.Controls.Button)(target)); return; case 30: this.btnReleaseS3 = ((System.Windows.Controls.Button)(target)); return; case 31: this.btnPullS4 = ((System.Windows.Controls.Button)(target)); return; case 32: this.btnReleaseS4 = ((System.Windows.Controls.Button)(target)); return; case 33: this.sdrW1 = ((System.Windows.Controls.Slider)(target)); return; case 34: this.sdrW2 = ((System.Windows.Controls.Slider)(target)); return; case 35: this.sdrW3 = ((System.Windows.Controls.Slider)(target)); return; case 36: this.sdrW4 = ((System.Windows.Controls.Slider)(target)); return; case 37: this.tbW1 = ((System.Windows.Controls.TextBox)(target)); return; case 38: this.tbW2 = ((System.Windows.Controls.TextBox)(target)); return; case 39: this.tbW3 = ((System.Windows.Controls.TextBox)(target)); return; case 40: this.tbW4 = ((System.Windows.Controls.TextBox)(target)); return; case 41: this.btnPullW1 = ((System.Windows.Controls.Button)(target)); #line 200 "..\..\MainWindow.xaml" this.btnPullW1.Click += new System.Windows.RoutedEventHandler(this.btnPullW1_Click); #line default #line hidden return; case 42: this.btnReleaseW1 = ((System.Windows.Controls.Button)(target)); return; case 43: this.btnPullW2 = ((System.Windows.Controls.Button)(target)); return; case 44: this.btnReleaseW2 = ((System.Windows.Controls.Button)(target)); return; case 45: this.btnPullW3 = ((System.Windows.Controls.Button)(target)); return; case 46: this.btnReleaseW3 = ((System.Windows.Controls.Button)(target)); return; case 47: this.btnPullW4 = ((System.Windows.Controls.Button)(target)); return; case 48: this.btnReleaseW4 = ((System.Windows.Controls.Button)(target)); return; case 49: this.sdrE1 = ((System.Windows.Controls.Slider)(target)); return; case 50: this.sdrE2 = ((System.Windows.Controls.Slider)(target)); return; case 51: this.tbE1 = ((System.Windows.Controls.TextBox)(target)); return; case 52: this.tbE2 = ((System.Windows.Controls.TextBox)(target)); return; case 53: this.btnPullE1 = ((System.Windows.Controls.Button)(target)); return; case 54: this.btnReleaseE1 = ((System.Windows.Controls.Button)(target)); return; case 55: this.btnPullE2 = ((System.Windows.Controls.Button)(target)); #line 233 "..\..\MainWindow.xaml" this.btnPullE2.Click += new System.Windows.RoutedEventHandler(this.btnPullE2_Click); #line default #line hidden return; case 56: this.btnReleaseE2 = ((System.Windows.Controls.Button)(target)); return; case 57: this.gbSingleJoint = ((System.Windows.Controls.GroupBox)(target)); return; case 58: this.sdrSZ = ((System.Windows.Controls.Slider)(target)); return; case 59: this.sdrSY = ((System.Windows.Controls.Slider)(target)); return; case 60: this.sdrSX = ((System.Windows.Controls.Slider)(target)); return; case 61: this.sdrE = ((System.Windows.Controls.Slider)(target)); return; case 62: this.sdrWZ = ((System.Windows.Controls.Slider)(target)); return; case 63: this.sdrWY = ((System.Windows.Controls.Slider)(target)); return; case 64: this.sdrWX = ((System.Windows.Controls.Slider)(target)); return; case 65: this.btnSingleJointZero = ((System.Windows.Controls.Button)(target)); #line 295 "..\..\MainWindow.xaml" this.btnSingleJointZero.Click += new System.Windows.RoutedEventHandler(this.btnSingleJointZero_Click); #line default #line hidden return; case 66: this.btnSingleJointAction = ((System.Windows.Controls.Button)(target)); #line 296 "..\..\MainWindow.xaml" this.btnSingleJointAction.Click += new System.Windows.RoutedEventHandler(this.btnSingleJointAction_Click); #line default #line hidden return; case 67: this.btnLoadStartPoint = ((System.Windows.Controls.Button)(target)); #line 299 "..\..\MainWindow.xaml" this.btnLoadStartPoint.Click += new System.Windows.RoutedEventHandler(this.btnLoadStartPoint_Click); #line default #line hidden return; case 68: this.l1 = ((System.Windows.Controls.Slider)(target)); return; case 69: this.l2 = ((System.Windows.Controls.Slider)(target)); return; case 70: this.h1 = ((System.Windows.Controls.Slider)(target)); return; case 71: this.h2 = ((System.Windows.Controls.Slider)(target)); return; case 72: this.A1 = ((System.Windows.Controls.Slider)(target)); return; case 73: this.A2 = ((System.Windows.Controls.Slider)(target)); return; case 74: this.A3 = ((System.Windows.Controls.Slider)(target)); return; case 75: this.A4 = ((System.Windows.Controls.Slider)(target)); return; case 76: this.B1 = ((System.Windows.Controls.Slider)(target)); return; case 77: this.B2 = ((System.Windows.Controls.Slider)(target)); return; case 78: this.B3 = ((System.Windows.Controls.Slider)(target)); return; case 79: this.B4 = ((System.Windows.Controls.Slider)(target)); return; case 80: this.B5 = ((System.Windows.Controls.Slider)(target)); return; case 81: this.B6 = ((System.Windows.Controls.Slider)(target)); return; case 82: this.C1 = ((System.Windows.Controls.Slider)(target)); return; case 83: this.C2 = ((System.Windows.Controls.Slider)(target)); return; case 84: this.btnMechPara = ((System.Windows.Controls.Button)(target)); #line 450 "..\..\MainWindow.xaml" this.btnMechPara.Click += new System.Windows.RoutedEventHandler(this.btnMechPara_Click); #line default #line hidden return; case 85: this.plotterJointAngle = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target)); return; case 86: this.plotterIMU1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target)); return; case 87: this.plotterIMU2 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target)); return; case 88: this.plotterIMU3 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target)); return; case 89: this.rtbConsole = ((System.Windows.Controls.RichTextBox)(target)); return; case 90: this.paraConsole = ((System.Windows.Documents.Paragraph)(target)); return; } this._contentLoaded = true; }