void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.settingsItems = ((System.Windows.Controls.Viewbox)(target)); return; case 3: this.speedSlider = ((System.Windows.Controls.Slider)(target)); #line 17 "..\..\ToolboxControl.xaml" this.speedSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.topSpeedSlider_ValueChanged); #line default #line hidden return; case 4: this.speedLabel = ((System.Windows.Controls.Label)(target)); return; case 5: this.deadzoneLeft = ((Deadzone.ToolboxControl)(target)); return; case 6: this.deadzoneRight = ((Deadzone.ToolboxControl)(target)); return; case 7: this.stateButton = ((System.Windows.Controls.Button)(target)); #line 64 "..\..\ToolboxControl.xaml" this.stateButton.Click += new System.Windows.RoutedEventHandler(this.stateButton_Click); #line default #line hidden return; case 8: this.xboxControllerConnectedIndicator = ((toggleIndicator.ToolboxControl)(target)); return; case 9: this.liveItems = ((System.Windows.Controls.Viewbox)(target)); return; case 10: this.liveXboxControllerMonitor = ((liveXboxMonitorV2.ToolboxControl)(target)); return; case 11: this.leftStickXval = ((System.Windows.Controls.Label)(target)); return; case 12: this.leftStickYval = ((System.Windows.Controls.Label)(target)); return; case 13: this.rightStickXval = ((System.Windows.Controls.Label)(target)); return; case 14: this.rightStickYval = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.deadZoneComp = ((Deadzone.ToolboxControl)(target)); return; case 2: this.minLabel = ((System.Windows.Controls.Label)(target)); return; case 3: this.maxLabel = ((System.Windows.Controls.Label)(target)); return; case 4: this.sensitivityLabel = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }