void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.kinectButton1 = ((GestureTraceLibrary.KinectButton)(target)); #line 11 "..\..\MainWindow.xaml" this.kinectButton1.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 11 "..\..\MainWindow.xaml" this.kinectButton1.KinectCursorLeave += new GestureTraceLibrary.KinectCursorEventHandler(this.Button_KinectCursorLeave); #line default #line hidden return; case 2: this.hoverButton1 = ((GestureTraceLibrary.HoverButton)(target)); #line 12 "..\..\MainWindow.xaml" this.hoverButton1.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 12 "..\..\MainWindow.xaml" this.hoverButton1.KinectCursorLeave += new GestureTraceLibrary.KinectCursorEventHandler(this.Button_KinectCursorLeave); #line default #line hidden return; case 3: this.magnetButton = ((GestureTraceLibrary.MagnetButton)(target)); #line 13 "..\..\MainWindow.xaml" this.magnetButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 13 "..\..\MainWindow.xaml" this.magnetButton.KinectCursorLeave += new GestureTraceLibrary.KinectCursorEventHandler(this.Button_KinectCursorLeave); #line default #line hidden return; case 4: this.textblock = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 10 "..\..\MainWindow.xaml" ((Car_4.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown); #line default #line hidden #line 10 "..\..\MainWindow.xaml" ((Car_4.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp); #line default #line hidden return; case 2: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.viewer = ((GestureTraceLibrary.SkeletonViewer)(target)); return; case 4: this.image = ((System.Windows.Controls.Image)(target)); return; case 5: this.titleTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.ColorImageElement = ((System.Windows.Controls.Image)(target)); return; case 7: this.EnhancedDepthImage = ((System.Windows.Controls.Image)(target)); return; case 8: this.DepthImage = ((System.Windows.Controls.Image)(target)); return; case 9: this.rightBigCircle = ((System.Windows.Shapes.Ellipse)(target)); return; case 10: this.rightSmallCircle = ((System.Windows.Shapes.Ellipse)(target)); return; case 11: this.rightTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.leftBigCircle = ((System.Windows.Shapes.Ellipse)(target)); return; case 13: this.leftSmallCircle = ((System.Windows.Shapes.Ellipse)(target)); return; case 14: this.leftTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.takePictureButton = ((GestureTraceLibrary.MagnetButton)(target)); #line 83 "..\..\MainWindow.xaml" this.takePictureButton.Click += new System.Windows.RoutedEventHandler(this.takePictureButton_Click); #line default #line hidden return; case 16: this.lightButton = ((GestureTraceLibrary.MagnetButton)(target)); return; case 17: this.modeChangedButton = ((GestureTraceLibrary.MagnetButton)(target)); #line 85 "..\..\MainWindow.xaml" this.modeChangedButton.Click += new System.Windows.RoutedEventHandler(this.modeChangedButton_Click); #line default #line hidden return; case 18: this.openVideoButton = ((GestureTraceLibrary.MagnetButton)(target)); #line 86 "..\..\MainWindow.xaml" this.openVideoButton.Click += new System.Windows.RoutedEventHandler(this.openVideoButton_Click); #line default #line hidden return; case 19: this.leftDash = ((System.Windows.Controls.Image)(target)); return; case 20: this.rightDash = ((System.Windows.Controls.Image)(target)); return; case 21: this.leftPointer = ((System.Windows.Controls.Image)(target)); return; case 22: this.leftRotateTransform = ((System.Windows.Media.RotateTransform)(target)); return; case 23: this.rightPointer = ((System.Windows.Controls.Image)(target)); return; case 24: this.rightRotateTransform = ((System.Windows.Media.RotateTransform)(target)); return; case 25: this.veRule = ((System.Windows.Controls.Image)(target)); return; case 26: this.heRule = ((System.Windows.Controls.Image)(target)); return; case 27: this.vaRectangle = ((System.Windows.Shapes.Rectangle)(target)); return; case 28: this.haRectangle = ((System.Windows.Shapes.Rectangle)(target)); return; case 29: this.schoolImage = ((System.Windows.Controls.Image)(target)); return; case 30: this.steeringWheel = ((System.Windows.Controls.Image)(target)); return; case 31: this.steerRotate = ((System.Windows.Media.RotateTransform)(target)); return; case 32: this.massageBlock = ((System.Windows.Controls.TextBlock)(target)); #line 160 "..\..\MainWindow.xaml" this.massageBlock.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.CheakWiFi); #line default #line hidden return; case 33: this.textBox = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.button = ((System.Windows.Controls.Button)(target)); #line 162 "..\..\MainWindow.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click); #line default #line hidden return; case 35: this.button1 = ((System.Windows.Controls.Button)(target)); #line 163 "..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 36: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }