public Tutorial() { InitializeComponent(); Instance = this; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 15 "..\..\..\MainWindow.xaml" ((Microsoft.Kinect.Samples.KinectPaint.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded); #line default #line hidden #line 16 "..\..\..\MainWindow.xaml" ((Microsoft.Kinect.Samples.KinectPaint.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed); #line default #line hidden return; case 2: this.PART_PaintCanvas = ((System.Windows.Controls.Grid)(target)); #line 33 "..\..\..\MainWindow.xaml" this.PART_PaintCanvas.SizeChanged += new System.Windows.SizeChangedEventHandler(this.PART_PaintCanvas_SizeChanged); #line default #line hidden return; case 3: this.PART_KinectVideo = ((System.Windows.Controls.Image)(target)); return; case 4: this.PART_LoadedImageDisplay = ((System.Windows.Controls.Image)(target)); return; case 5: this.PART_selectionUI = ((System.Windows.Controls.StackPanel)(target)); return; case 6: this.PART_actionUI = ((System.Windows.Controls.Grid)(target)); return; case 7: this.PART_ColorPickerListBox = ((Microsoft.Kinect.Samples.KinectPaint.KinectPaintListBox)(target)); return; case 8: this.PART_SaveMessage = ((System.Windows.Controls.Grid)(target)); return; case 9: this.Tutorial = ((Microsoft.Kinect.Samples.KinectPaint.Tutorial)(target)); return; case 10: this.PART_PopupDisplay = ((System.Windows.Controls.ContentControl)(target)); return; case 11: this.PART_Cursor = ((Microsoft.Kinect.Samples.KinectPaint.KinectCursor)(target)); return; case 12: this.PART_ErrorText = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }