void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 2: #line 31 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Angle_Up); #line default #line hidden return; case 3: #line 33 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\MainWindow.xaml" ((WorkingWithDepthData.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" ((WorkingWithDepthData.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.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target)); return; case 4: this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; } this._contentLoaded = true; }
private static void DepthTreatmentChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs args) { KinectDepthViewer depthViewer = dependencyObject as KinectDepthViewer; if ((null == depthViewer) || !(args.NewValue is KinectDepthTreatment)) { return; } depthViewer.depthTreatment = (KinectDepthTreatment)args.NewValue; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 16 "..\..\KinectWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Swap_Executed); #line default #line hidden return; case 2: this.layoutGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.MainViewerHost = ((System.Windows.Controls.Grid)(target)); return; case 4: this.ColorVis = ((System.Windows.Controls.Grid)(target)); return; case 5: this.ColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 6: this.kinectAudioViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectAudioViewer)(target)); return; case 7: this.SideViewerHost = ((System.Windows.Controls.Grid)(target)); return; case 8: this.DepthVis = ((System.Windows.Controls.Grid)(target)); return; case 9: this.DepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 2: this.Settings = ((System.Windows.Controls.Expander)(target)); return; case 3: this.status = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.colorPanel = ((System.Windows.Controls.Grid)(target)); return; case 5: this.colorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 6: this.KinectSkeletonViewerOnColor = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target)); return; case 7: this.kinectAudioViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectAudioViewer)(target)); return; case 8: this.depthPanel = ((System.Windows.Controls.Grid)(target)); return; case 9: this.KinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 10: this.KinectSkeletonViewerOnDepth = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.kinectColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 2: this.kinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 3: this.skeletonPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 5: this.frameRate = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.kinectIndex = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.kinectName = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.kinectStatus = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 2: #line 39 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 3: #line 40 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 4: #line 41 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 5: #line 42 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; case 6: #line 43 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4); #line default #line hidden return; case 7: this.img = ((System.Windows.Controls.Image)(target)); return; case 8: this.myVideo = ((System.Windows.Controls.MediaElement)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\MainWindow.xaml" ((WpfApplication1.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" ((WpfApplication1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 3: this.rightTarget = ((System.Windows.Shapes.Ellipse)(target)); return; case 4: this.leftTarget = ((System.Windows.Shapes.Ellipse)(target)); return; case 5: this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 6: this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target)); return; case 7: this.leftCircle = ((System.Windows.Shapes.Ellipse)(target)); return; case 8: this.rightCircle = ((System.Windows.Shapes.Ellipse)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.kinectColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 2: this.kinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 3: this.skeletonPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 5: this.frameRate = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.kinectIndex = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.kinectName = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.kinectStatus = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\Window3.xaml" ((KinectHubDemo.Window3)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 4 "..\..\..\Window3.xaml" ((KinectHubDemo.Window3)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.FlashGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.canvas1 = ((System.Windows.Controls.Canvas)(target)); return; case 4: this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target)); return; case 5: this.DepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 6: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 7: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 8: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 9: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 10: this.label5 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 2: this.Settings = ((System.Windows.Controls.Expander)(target)); return; case 3: this.status = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.colorPanel = ((System.Windows.Controls.Grid)(target)); return; case 5: this.colorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 6: this.KinectSkeletonViewerOnColor = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target)); return; case 7: this.kinectAudioViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectAudioViewer)(target)); return; case 8: this.depthPanel = ((System.Windows.Controls.Grid)(target)); return; case 9: this.KinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 10: this.KinectSkeletonViewerOnDepth = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\..\MainWindow.xaml" ((CameraFundamentals.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 5 "..\..\..\MainWindow.xaml" ((CameraFundamentals.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target)); return; case 3: this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 4: this.imgColorPhoto = ((System.Windows.Controls.Image)(target)); return; case 5: this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 6: this.btnTakePhoto = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\..\MainWindow.xaml" this.btnTakePhoto.Click += new System.Windows.RoutedEventHandler(this.btnTakePhoto_Click); #line default #line hidden return; case 7: this.imgDepthPhoto = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 16 "..\..\KinectWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Swap_Executed); #line default #line hidden return; case 2: this.layoutGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.MainViewerHost = ((System.Windows.Controls.Grid)(target)); return; case 4: this.ColorVis = ((System.Windows.Controls.Grid)(target)); return; case 5: this.ColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 6: this.kinectAudioViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectAudioViewer)(target)); return; case 7: this.SideViewerHost = ((System.Windows.Controls.Grid)(target)); return; case 8: this.DepthVis = ((System.Windows.Controls.Grid)(target)); return; case 9: this.DepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 10: #line 155 "..\..\KinectWindow.xaml" ((Microsoft.Samples.Kinect.WpfViewers.KinectSettings)(target)).Loaded += new System.Windows.RoutedEventHandler(this.KinectSettings_Loaded); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.kinectColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 2: this.kinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 3: this.skeletonPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 5: this.text1 = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.b1 = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\KinectDiagnosticViewer.xaml" this.b1.Click += new System.Windows.RoutedEventHandler(this.Onb2Click); #line default #line hidden return; case 7: this.text2 = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.Position = ((System.Windows.Controls.StackPanel)(target)); return; case 9: this.bodyPositionText = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.bodyMotionText = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.leftHandPositionText = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.leftHandMotionText = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.rightHandPositionText = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.rightHandMotionText = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.leftLegPositionText = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.leftLegMotionText = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.rightLegPositionText = ((System.Windows.Controls.TextBlock)(target)); return; case 18: this.rightLegMotionText = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\MainWindow.xaml" ((WorkingWithDepthData.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" ((WorkingWithDepthData.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.canvas1 = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.image1 = ((System.Windows.Controls.Image)(target)); return; case 4: this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target)); return; case 5: this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 6: this.hitLabel = ((System.Windows.Controls.Label)(target)); return; case 7: this.hitLabel2 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\MainWindow.xaml" ((Play_v_6.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" ((Play_v_6.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.tblHeight = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 4: this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target)); return; case 5: this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target)); return; case 6: this.HipCenter = ((System.Windows.Shapes.Ellipse)(target)); return; case 7: this.Spine = ((System.Windows.Shapes.Ellipse)(target)); return; case 8: this.ShoulderCenter = ((System.Windows.Shapes.Ellipse)(target)); return; case 9: this.Head = ((System.Windows.Shapes.Ellipse)(target)); return; case 10: this.ShoulderLeft = ((System.Windows.Shapes.Ellipse)(target)); return; case 11: this.ElbowLeft = ((System.Windows.Shapes.Ellipse)(target)); return; case 12: this.WristLeft = ((System.Windows.Shapes.Ellipse)(target)); return; case 13: this.HandLeft = ((System.Windows.Shapes.Ellipse)(target)); return; case 14: this.ShoulderRight = ((System.Windows.Shapes.Ellipse)(target)); return; case 15: this.ElbowRight = ((System.Windows.Shapes.Ellipse)(target)); return; case 16: this.WristRight = ((System.Windows.Shapes.Ellipse)(target)); return; case 17: this.HandRight = ((System.Windows.Shapes.Ellipse)(target)); return; case 18: this.HipLeft = ((System.Windows.Shapes.Ellipse)(target)); return; case 19: this.KneeLeft = ((System.Windows.Shapes.Ellipse)(target)); return; case 20: this.AnkleLeft = ((System.Windows.Shapes.Ellipse)(target)); return; case 21: this.FootLeft = ((System.Windows.Shapes.Ellipse)(target)); return; case 22: this.HipRight = ((System.Windows.Shapes.Ellipse)(target)); return; case 23: this.KneeRight = ((System.Windows.Shapes.Ellipse)(target)); return; case 24: this.AnkleRight = ((System.Windows.Shapes.Ellipse)(target)); return; case 25: this.FootRight = ((System.Windows.Shapes.Ellipse)(target)); return; case 26: this.image1 = ((System.Windows.Controls.Image)(target)); #line 32 "..\..\..\MainWindow.xaml" this.image1.ImageFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.image1_ImageFailed); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.kinectColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 2: this.kinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 3: this.skeletonPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 5: this.text1 = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.b1 = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\KinectDiagnosticViewer.xaml" this.b1.Click += new System.Windows.RoutedEventHandler(this.Onb2Click); #line default #line hidden return; case 7: this.text2 = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.Position = ((System.Windows.Controls.StackPanel)(target)); return; case 9: this.bodyPositionText = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.bodyMotionText = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.leftHandPositionText = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.leftHandMotionText = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.rightHandPositionText = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.rightHandMotionText = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.leftLegPositionText = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.leftLegMotionText = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.rightLegPositionText = ((System.Windows.Controls.TextBlock)(target)); return; case 18: this.rightLegMotionText = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\MainWindow.xaml" ((WpfApplication1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" ((WpfApplication1.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed); #line default #line hidden return; case 2: this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target)); return; case 3: this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 4: this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\MainWindow.xaml" ((IPA2.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" ((IPA2.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.MainCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target)); return; case 4: this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 5: this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target)); #line 9 "..\..\..\MainWindow.xaml" this.kinectSkeletonViewer1.Loaded += new System.Windows.RoutedEventHandler(this.kinectSkeletonViewer1_Loaded); #line default #line hidden return; case 6: this.kinectColorViewer2 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target)); return; case 7: this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 8: this.FirstContent = ((System.Windows.Controls.Label)(target)); return; case 9: this.FirstLabel = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\MainWindow.xaml" ((WpfApplication1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" ((WpfApplication1.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target)); return; case 3: this.image1 = ((System.Windows.Controls.Image)(target)); #line 7 "..\..\..\MainWindow.xaml" this.image1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseLeftButtonDown); #line default #line hidden return; case 4: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 6: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 7: this.textBox2 = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 9: this.kinectDepthViewer2 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 10: this.kinectDepthViewer3 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target)); return; case 11: this.button1 = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 12: this.image2 = ((System.Windows.Controls.Image)(target)); #line 16 "..\..\..\MainWindow.xaml" this.image2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.image2_MouseLeftButtonDown); #line default #line hidden return; case 13: this.textBox3 = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.textBox4 = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 16: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 17: this.slider1 = ((System.Windows.Controls.Slider)(target)); return; case 18: this.slider2 = ((System.Windows.Controls.Slider)(target)); return; case 19: this.textBox5 = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.textBox6 = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.listBox1 = ((System.Windows.Controls.ListBox)(target)); #line 25 "..\..\..\MainWindow.xaml" this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox1_SelectionChanged); #line default #line hidden return; case 22: this.label5 = ((System.Windows.Controls.Label)(target)); return; case 23: this.textBox7 = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.textBox8 = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.label6 = ((System.Windows.Controls.Label)(target)); return; case 26: this.image3 = ((System.Windows.Controls.Image)(target)); return; case 27: this.textBox9 = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.textBox10 = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.buttonstop = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\..\MainWindow.xaml" this.buttonstop.Click += new System.Windows.RoutedEventHandler(this.buttonstop_Click); #line default #line hidden return; } this._contentLoaded = true; }