void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 6 "..\..\..\MainWindow.xaml" ((GlyphStartup.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.image1 = ((System.Windows.Controls.Image)(target)); return; case 3: this.viewPort3d = ((HelixToolkit.Wpf.HelixViewport3D)(target)); return; case 4: this.ModelArea = ((System.Windows.Media.Media3D.ModelVisual3D)(target)); return; case 5: this.model1 = ((HelixToolkit.Wpf.FileModelVisual3D)(target)); return; case 6: this.button1 = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 7: this.button2 = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\..\MainWindow.xaml" this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.view1 = ((HelixToolkit.Wpf.HelixViewport3D)(target)); #line 7 "..\..\..\Option\ModelWindow.xaml" this.view1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.view1_MouseDoubleClick); #line default #line hidden return; case 2: this.TestMode_bus = ((System.Windows.Media.Media3D.ModelVisual3D)(target)); return; case 3: this.model1 = ((HelixToolkit.Wpf.FileModelVisual3D)(target)); return; case 4: this.RollValue = ((System.Windows.Controls.Label)(target)); return; case 5: this.PitchValue = ((System.Windows.Controls.Label)(target)); return; case 6: this.YawValue = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 15 "..\..\..\UI\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnPause); #line default #line hidden return; case 2: #line 16 "..\..\..\UI\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnHelp); #line default #line hidden return; case 3: #line 17 "..\..\..\UI\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SwitchCameraCommand_OnExecuted); #line default #line hidden return; case 4: this.CameraViewsCombobox = ((System.Windows.Controls.ComboBox)(target)); return; case 5: this.TogglePause = ((System.Windows.Controls.CheckBox)(target)); #line 33 "..\..\..\UI\MainWindow.xaml" this.TogglePause.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChanged); #line default #line hidden #line 33 "..\..\..\UI\MainWindow.xaml" this.TogglePause.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChanged); #line default #line hidden return; case 6: this.ButtonExit = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\..\UI\MainWindow.xaml" this.ButtonExit.Click += new System.Windows.RoutedEventHandler(this.ButtonExit_OnClick); #line default #line hidden return; case 7: this.ViewPort = ((HelixToolkit.Wpf.HelixViewport3D)(target)); #line 39 "..\..\..\UI\MainWindow.xaml" this.ViewPort.CameraChanged += new System.Windows.RoutedEventHandler(this.ViewPort_CameraChanged); #line default #line hidden return; case 8: this.Grid = ((HelixToolkit.Wpf.GridLinesVisual3D)(target)); return; case 9: this.BoatBearing = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target)); return; case 10: this.BoatPosition = ((System.Windows.Media.Media3D.TranslateTransform3D)(target)); return; case 11: this.FileModelVisual3D = ((HelixToolkit.Wpf.FileModelVisual3D)(target)); return; case 12: this.Waypoint = ((AutoPilotSimulation.UI.DraggableSphere)(target)); return; case 13: this.InfoBox = ((AutoPilotSimulation.UI.InfoBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\MainWindow.xaml" ((Mapper.Wpf.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoaded); #line default #line hidden #line 12 "..\..\MainWindow.xaml" ((Mapper.Wpf.MainWindow)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.OnUnloaded); #line default #line hidden return; case 2: this.Viewport = ((HelixToolkit.Wpf.HelixViewport3D)(target)); return; case 3: this.MapPlotter = ((HelixToolkit.Wpf.LinesVisual3D)(target)); return; case 4: this.FileModelVisual3D = ((HelixToolkit.Wpf.FileModelVisual3D)(target)); return; case 5: this.LogScrollViewer = ((System.Windows.Controls.ScrollViewer)(target)); return; case 6: this.LogTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.StartButton = ((System.Windows.Controls.Button)(target)); #line 114 "..\..\MainWindow.xaml" this.StartButton.Click += new System.Windows.RoutedEventHandler(this.StartButtonOnClick); #line default #line hidden return; case 8: this.StopButton = ((System.Windows.Controls.Button)(target)); #line 120 "..\..\MainWindow.xaml" this.StopButton.Click += new System.Windows.RoutedEventHandler(this.StopButtonOnClick); #line default #line hidden return; case 9: this.DisconnectButton = ((System.Windows.Controls.Button)(target)); #line 126 "..\..\MainWindow.xaml" this.DisconnectButton.Click += new System.Windows.RoutedEventHandler(this.DisconnectButtonOnClick); #line default #line hidden return; case 10: this.ResetViewButton = ((System.Windows.Controls.Button)(target)); #line 132 "..\..\MainWindow.xaml" this.ResetViewButton.Click += new System.Windows.RoutedEventHandler(this.ResetViewButtonOnClick); #line default #line hidden return; case 11: this.CarNameTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.SpeedSlider = ((System.Windows.Controls.Slider)(target)); return; case 13: this.MinDistanceSlider = ((System.Windows.Controls.Slider)(target)); return; case 14: this.SaveButton = ((System.Windows.Controls.Button)(target)); #line 230 "..\..\MainWindow.xaml" this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButtonOnClick); #line default #line hidden return; } this._contentLoaded = true; }