void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ThrottleSlider = ((System.Windows.Controls.Slider)(target)); return; case 2: this.ThrottleValue = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.RudderSlider = ((System.Windows.Controls.Slider)(target)); return; case 4: this.RudderValue = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.Joystick = ((FlightSimulator.Views.Joystick)(target)); return; case 6: this.AileronValue = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.ElavatorValue = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.RudderSlider = ((System.Windows.Controls.Slider)(target)); return; case 2: this.ThrottleSlider = ((System.Windows.Controls.Slider)(target)); return; case 3: this.joystick = ((FlightSimulator.Views.Joystick)(target)); return; case 4: this.rudderIndicaror = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.throttleIndicaror = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.ailronIndicaror = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.elevatorIndicaror = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AileronValueText = ((System.Windows.Controls.TextBlock)(target)); return; case 2: this.ElevatorValueText = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.JoystickView = ((FlightSimulator.Views.Joystick)(target)); return; case 4: this.ThrottleSlider = ((System.Windows.Controls.Slider)(target)); return; case 5: this.ThrottleValue = ((System.Windows.Controls.Label)(target)); return; case 6: this.ThrottleValueText = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.RudderSlider = ((System.Windows.Controls.Slider)(target)); return; case 8: this.RudderValue = ((System.Windows.Controls.Label)(target)); return; case 9: this.RudderValueText = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.AutopilotTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.AutopilotOKButton = ((System.Windows.Controls.Button)(target)); return; case 12: this.AutopilotClearButton = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AileronValueText = ((System.Windows.Controls.TextBlock)(target)); return; case 2: this.ElevatorValueText = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.JoystickView = ((FlightSimulator.Views.Joystick)(target)); return; case 4: this.ThrottleSlider = ((System.Windows.Controls.Slider)(target)); #line 71 "..\..\..\Views\ManualUserControl.xaml" this.ThrottleSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ThrottleSlider_ValueChanged); #line default #line hidden return; case 5: this.ThrottleValueText = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.RudderSlider = ((System.Windows.Controls.Slider)(target)); #line 98 "..\..\..\Views\ManualUserControl.xaml" this.RudderSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.RudderSlider_ValueChanged); #line default #line hidden return; case 7: this.RudderValueText = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.throttleSlider = ((System.Windows.Controls.Slider)(target)); return; case 2: this.rudderSlider = ((System.Windows.Controls.Slider)(target)); return; case 3: this.myJoyStick = ((FlightSimulator.Views.Joystick)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.joystick = ((FlightSimulator.Views.Joystick)(target)); return; case 2: #line 12 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 3: this.settings = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\..\MainWindow.xaml" this.settings.Click += new System.Windows.RoutedEventHandler(this.Settings_Click); #line default #line hidden return; case 4: this.get = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\..\MainWindow.xaml" this.get.Click += new System.Windows.RoutedEventHandler(this.Get_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.joy1 = ((FlightSimulator.Views.Joystick)(target)); return; case 2: this.ThrottleSld = ((System.Windows.Controls.Slider)(target)); #line 26 "..\..\..\Views\Controls.xaml" this.ThrottleSld.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ThrottleSld_ValueChanged); #line default #line hidden return; case 3: this.AileronSld = ((System.Windows.Controls.Slider)(target)); #line 34 "..\..\..\Views\Controls.xaml" this.AileronSld.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.AileronSld_ValueChanged); #line default #line hidden return; case 4: this.Throttle_label = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.Aileron_label = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.Rudder_label = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.Aileron_val = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.Throttle_val = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.Rudder_val = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.Elevator_val = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.Elevator_label = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.FlBoard = ((FlightSimulator.Views.FlightBoard)(target)); return; case 2: this.SettingControl = ((FlightSimulator.Views.Settings)(target)); return; case 3: #line 34 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConnectButton); #line default #line hidden return; case 4: this.settingButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 38 "..\..\MainWindow.xaml" this.settingButton.Checked += new System.Windows.RoutedEventHandler(this.settingButton_Checked); #line default #line hidden return; case 5: this.JoyStickView = ((FlightSimulator.Views.Joystick)(target)); return; case 6: this.rudderSlider = ((System.Windows.Controls.Slider)(target)); return; case 7: this.throttleSlider = ((System.Windows.Controls.Slider)(target)); return; case 8: this.ClearText = ((System.Windows.Controls.Grid)(target)); return; case 9: this.OKCommands = ((System.Windows.Controls.Button)(target)); #line 127 "..\..\MainWindow.xaml" this.OKCommands.Click += new System.Windows.RoutedEventHandler(this.OKSendCommand); #line default #line hidden return; case 10: #line 128 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearButton); #line default #line hidden return; case 11: this.TextBoxCommands = ((System.Windows.Controls.TextBox)(target)); #line 129 "..\..\MainWindow.xaml" this.TextBoxCommands.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ClearTextBox_TextChanged); #line default #line hidden return; } this._contentLoaded = true; }