void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 6 "..\..\Window1.xaml" ((Esd.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window1_OnLoaded); #line default #line hidden #line 6 "..\..\Window1.xaml" ((Esd.Window1)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window1_OnClosing); #line default #line hidden #line 6 "..\..\Window1.xaml" ((Esd.Window1)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.OgreKeyDown); #line default #line hidden #line 6 "..\..\Window1.xaml" ((Esd.Window1)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.OgreKeyUp); #line default #line hidden return; case 2: this.menu1 = ((System.Windows.Controls.Menu)(target)); return; case 3: #line 11 "..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NewScene_Click); #line default #line hidden return; case 4: this.Button1 = ((System.Windows.Controls.Button)(target)); return; case 5: this.img_down = ((System.Windows.Controls.Image)(target)); #line 54 "..\..\Window1.xaml" this.img_down.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Viewport_MouseDown); #line default #line hidden #line 54 "..\..\Window1.xaml" this.img_down.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Viewport_MouseLeave); #line default #line hidden #line 54 "..\..\Window1.xaml" this.img_down.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Viewport_MouseUp); #line default #line hidden return; case 6: this.Button2 = ((System.Windows.Controls.Button)(target)); return; case 7: this.img_up = ((System.Windows.Controls.Image)(target)); #line 57 "..\..\Window1.xaml" this.img_up.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Viewport_MouseDown); #line default #line hidden #line 57 "..\..\Window1.xaml" this.img_up.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Viewport_MouseLeave); #line default #line hidden #line 57 "..\..\Window1.xaml" this.img_up.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Viewport_MouseUp); #line default #line hidden return; case 8: this.Button3 = ((System.Windows.Controls.Button)(target)); return; case 9: this.img_left = ((System.Windows.Controls.Image)(target)); #line 60 "..\..\Window1.xaml" this.img_left.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Viewport_MouseDown); #line default #line hidden #line 60 "..\..\Window1.xaml" this.img_left.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Viewport_MouseLeave); #line default #line hidden #line 60 "..\..\Window1.xaml" this.img_left.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Viewport_MouseUp); #line default #line hidden return; case 10: this.Button4 = ((System.Windows.Controls.Button)(target)); return; case 11: this.img_right = ((System.Windows.Controls.Image)(target)); #line 63 "..\..\Window1.xaml" this.img_right.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Viewport_MouseDown); #line default #line hidden #line 63 "..\..\Window1.xaml" this.img_right.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Viewport_MouseLeave); #line default #line hidden #line 63 "..\..\Window1.xaml" this.img_right.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Viewport_MouseUp); #line default #line hidden return; case 12: this.Button5 = ((System.Windows.Controls.Button)(target)); return; case 13: #line 66 "..\..\Window1.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_1); #line default #line hidden return; case 14: this.Button6 = ((System.Windows.Controls.Button)(target)); return; case 15: #line 69 "..\..\Window1.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown); #line default #line hidden return; case 16: this.Button7 = ((System.Windows.Controls.Button)(target)); return; case 17: #line 72 "..\..\Window1.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_2); #line default #line hidden return; case 18: this.Button8 = ((System.Windows.Controls.Button)(target)); return; case 19: this.Button9 = ((System.Windows.Controls.Button)(target)); return; case 20: this.Button10 = ((System.Windows.Controls.Button)(target)); return; case 21: #line 81 "..\..\Window1.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_3); #line default #line hidden return; case 22: this.Button11 = ((System.Windows.Controls.Button)(target)); return; case 23: #line 84 "..\..\Window1.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_4); #line default #line hidden return; case 24: this.Button12 = ((System.Windows.Controls.Button)(target)); return; case 25: #line 87 "..\..\Window1.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_5); #line default #line hidden return; case 26: this.Button13 = ((System.Windows.Controls.Button)(target)); return; case 27: this.Button14 = ((System.Windows.Controls.Button)(target)); return; case 28: #line 93 "..\..\Window1.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_6); #line default #line hidden return; case 29: this.leftorder = ((System.Windows.Controls.Border)(target)); return; case 30: this.tabItem1 = ((System.Windows.Controls.TabItem)(target)); return; case 31: this.moxingwrappanel = ((System.Windows.Controls.StackPanel)(target)); return; case 32: this.tabItem2 = ((System.Windows.Controls.TabItem)(target)); return; case 33: this.tabItem3 = ((System.Windows.Controls.TabItem)(target)); return; case 34: this.RenterTargetControl = ((System.Windows.Controls.Image)(target)); #line 118 "..\..\Window1.xaml" this.RenterTargetControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.RenterTargetControl_SizeChanged); #line default #line hidden #line 118 "..\..\Window1.xaml" this.RenterTargetControl.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OgreMouseDown); #line default #line hidden #line 118 "..\..\Window1.xaml" this.RenterTargetControl.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OgreMouseUp); #line default #line hidden #line 118 "..\..\Window1.xaml" this.RenterTargetControl.MouseMove += new System.Windows.Input.MouseEventHandler(this.OgreMouseMove); #line default #line hidden return; case 35: this._ogreImage = ((OgreLib.OgreImage)(target)); #line 122 "..\..\Window1.xaml" this._ogreImage.Initialised += new System.Windows.RoutedEventHandler(this._ogre_OnInitialised); #line default #line hidden #line 122 "..\..\Window1.xaml" this._ogreImage.PreRender += new System.EventHandler(this._image_PreRender); #line default #line hidden return; } this._contentLoaded = true; }
public PanToolClass() { ogreimage = EsdSceneManager.Singleton.OgreImage; esmanager =EsdSceneManager.Singleton; PeopleChecked = false; }
public AddGrassTool() { ogreimage = EsdSceneManager.Singleton.OgreImage; esmanager = EsdSceneManager.Singleton; }
public SelectModelTool() { ogreimage = EsdSceneManager.Singleton.OgreImage; esmanager = EsdSceneManager.Singleton; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\Window1.xaml" ((OgreDem.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 5 "..\..\Window1.xaml" ((OgreDem.Window1)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown); #line default #line hidden return; case 2: this.menu1 = ((System.Windows.Controls.Menu)(target)); return; case 3: #line 12 "..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 4: this.RenterTargetControl = ((System.Windows.Controls.Image)(target)); #line 27 "..\..\Window1.xaml" this.RenterTargetControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.RenterTargetControl_SizeChanged); #line default #line hidden #line 27 "..\..\Window1.xaml" this.RenterTargetControl.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.RenterTargetControl_MouseDown); #line default #line hidden #line 27 "..\..\Window1.xaml" this.RenterTargetControl.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.RenterTargetControl_MouseUp); #line default #line hidden #line 28 "..\..\Window1.xaml" this.RenterTargetControl.MouseMove += new System.Windows.Input.MouseEventHandler(this.RenterTargetControl_MouseMove); #line default #line hidden return; case 5: this._ogreImage = ((OgreLib.OgreImage)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 6 "..\..\Window1.xaml" ((OgreHead.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 6 "..\..\Window1.xaml" ((OgreHead.Window1)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown); #line default #line hidden return; case 2: #line 18 "..\..\Window1.xaml" ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.StartEngine_Completed); #line default #line hidden return; case 3: this.RenterTargetControl = ((System.Windows.Controls.Image)(target)); #line 28 "..\..\Window1.xaml" this.RenterTargetControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.RenterTargetControl_SizeChanged); #line default #line hidden #line 28 "..\..\Window1.xaml" this.RenterTargetControl.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.RenterTargetControl_MouseDown); #line default #line hidden #line 28 "..\..\Window1.xaml" this.RenterTargetControl.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.RenterTargetControl_MouseUp); #line default #line hidden #line 29 "..\..\Window1.xaml" this.RenterTargetControl.MouseMove += new System.Windows.Input.MouseEventHandler(this.RenterTargetControl_MouseMove); #line default #line hidden return; case 4: this._ogreImage = ((OgreLib.OgreImage)(target)); return; case 5: this._loading = ((System.Windows.Controls.Border)(target)); return; case 6: this._progressBar = ((System.Windows.Shapes.Rectangle)(target)); return; case 7: this._progressScale = ((System.Windows.Media.ScaleTransform)(target)); return; case 8: this._progressName = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
public AddBillBoardTool() { ogreimage = EsdSceneManager.Singleton.OgreImage; esmanager = EsdSceneManager.Singleton; }