void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.webView1 = ((EO.WebBrowser.Wpf.WebView)(target)); return; case 2: this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target)); return; case 3: this.camera = ((System.Windows.Controls.Image)(target)); return; case 4: this.canvas = ((System.Windows.Controls.Canvas)(target)); return; case 5: #line 59 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnOpenSensor); #line default #line hidden return; case 6: #line 61 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCloseSensor); #line default #line hidden return; case 7: #line 63 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClickphoto); #line default #line hidden return; case 8: this.MyGrid = ((System.Windows.Controls.Grid)(target)); return; case 9: this.CapturedImage = ((System.Windows.Controls.Image)(target)); return; case 10: this.gestureState = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.kinectBodyViewbox = ((System.Windows.Controls.Viewbox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.webView1 = ((EO.WebBrowser.Wpf.WebView)(target)); return; case 2: this.moveableStop = ((System.Windows.Media.GradientStop)(target)); return; case 3: this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target)); return; case 4: #line 157 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnOpenSensor); #line default #line hidden return; case 5: #line 159 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCloseSensor); #line default #line hidden return; case 6: this.txtProgress = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }