void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.pitchInclinometer = ((Pitch.ToolboxControl)(target)); return; case 2: this.rollInclinometer = ((Roll.ToolboxControl)(target)); return; case 3: this.rollWarningLight = ((toggleIndicator.ToolboxControl)(target)); return; case 4: this.pitchWarningLight = ((toggleIndicator.ToolboxControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.pitchInclinometer = ((Pitch.ToolboxControl)(target)); return; case 2: this.pitchSlider = ((System.Windows.Controls.Slider)(target)); #line 9 "..\..\MainWindow.xaml" this.pitchSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.pitchSlider_ValueChanged); #line default #line hidden return; case 3: this.pitchValLabel = ((System.Windows.Controls.Label)(target)); return; case 4: this.rollSlider = ((System.Windows.Controls.Slider)(target)); #line 12 "..\..\MainWindow.xaml" this.rollSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.rollSlider_ValueChanged); #line default #line hidden return; case 5: this.rollValLabel = ((System.Windows.Controls.Label)(target)); return; case 6: this.rollInclinometer = ((Roll.ToolboxControl)(target)); return; } this._contentLoaded = true; }