void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.wheelMonitor = ((WheelMonitor.ToolboxControl)(target)); return; case 2: this.stallLabel = ((System.Windows.Controls.Label)(target)); #line 8 "..\..\MainWindow.xaml" this.stallLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseDown); #line default #line hidden #line 8 "..\..\MainWindow.xaml" this.stallLabel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseUp); #line default #line hidden return; case 3: this.slipLabel = ((System.Windows.Controls.Label)(target)); #line 9 "..\..\MainWindow.xaml" this.slipLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseDown); #line default #line hidden #line 9 "..\..\MainWindow.xaml" this.slipLabel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseUp); #line default #line hidden return; case 4: this.speedSlider = ((System.Windows.Controls.Slider)(target)); #line 10 "..\..\MainWindow.xaml" this.speedSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.speedSlider_ValueChanged); #line default #line hidden return; case 5: this.currentSlider = ((System.Windows.Controls.Slider)(target)); #line 11 "..\..\MainWindow.xaml" this.currentSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.currentSlider_ValueChanged); #line default #line hidden return; case 6: this.spinLabel = ((System.Windows.Controls.Label)(target)); #line 14 "..\..\MainWindow.xaml" this.spinLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseDown); #line default #line hidden #line 14 "..\..\MainWindow.xaml" this.spinLabel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseUp); #line default #line hidden return; case 7: this.errorMonitor = ((toggleIndicator.ToolboxControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.primaryViewBox = ((System.Windows.Controls.Viewbox)(target)); return; case 2: this.upLeftWheelMon = ((WheelMonitor.ToolboxControl)(target)); return; case 3: this.upRightWheelMon = ((WheelMonitor.ToolboxControl)(target)); return; case 4: this.backRightWheelMon = ((WheelMonitor.ToolboxControl)(target)); return; case 5: this.backLeftWheelMon = ((WheelMonitor.ToolboxControl)(target)); return; case 6: this.pidGoalSpeed = ((System.Windows.Controls.Label)(target)); return; case 7: this.actualSpeedLabel = ((System.Windows.Controls.Label)(target)); return; case 8: this.stuckIndicator = ((toggleIndicator.ToolboxControl)(target)); return; } this._contentLoaded = true; }