void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Joystick = ((FlightSimulatorApp.View.Joystick)(target)); return; case 2: this.AileronSlider = ((System.Windows.Controls.Slider)(target)); return; case 3: this.AileronTBox = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.ThrottleSlider = ((System.Windows.Controls.Slider)(target)); #line 48 "..\..\..\View\FullJoystick.xaml" this.ThrottleSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ThrottleSlider_ValueChanged); #line default #line hidden return; case 5: this.ThrottleTBox = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.RudderTBox = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.Rudder = ((System.Windows.Controls.Label)(target)); return; case 8: this.ElevatorTBox = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.Elevator = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.joystick1 = ((FlightSimulatorApp.View.Joystick)(target)); return; case 2: this.Aileron = ((System.Windows.Controls.Slider)(target)); #line 21 "..\..\..\View\Controll.xaml" this.Aileron.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Aileron_ValueChanged); #line default #line hidden return; case 3: this.Throttle = ((System.Windows.Controls.Slider)(target)); return; } this._contentLoaded = true; }