Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 12 "..\..\..\MainWindow.xaml"
     ((KinectWhiteboard.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 13 "..\..\..\MainWindow.xaml"
     ((KinectWhiteboard.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.video = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.depth = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.Connect = ((KinectWhiteboard.KinectButton)(target));
     return;
     case 5:
     this.Disconnect = ((KinectWhiteboard.KinectButton)(target));
     return;
     case 6:
     this.Start = ((KinectWhiteboard.KinectButton)(target));
     return;
     case 7:
     this.Reset = ((KinectWhiteboard.KinectButton)(target));
     return;
     case 8:
     this.Skeleton = ((KinectWhiteboard.KinectButton)(target));
     return;
     case 9:
     this.NoSkeleton = ((KinectWhiteboard.KinectButton)(target));
     return;
     case 10:
     this.Quit = ((KinectWhiteboard.KinectButton)(target));
     return;
     case 11:
     this.canvas1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 12:
     this.InfoLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.ImageLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.TimerLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.PART_ErrorText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.FlagPole1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 17:
     this.FlagPole2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 18:
     this.FlagPole3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 19:
     this.FlagPole4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 20:
     this.R1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 21:
     this.R2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 22:
     this.R3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 23:
     this.R4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 24:
     this.R5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 25:
     this.R6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 26:
     this.R7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 27:
     this.R8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 28:
     this.R9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 29:
     this.Partner = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 30:
     this.PART_Cursor = ((KinectWhiteboard.KinectCursor)(target));
     return;
     case 31:
     this.SayHello = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 12 "..\..\..\MainWindow.xaml"
     ((KinectWhiteboard.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 13 "..\..\..\MainWindow.xaml"
     ((KinectWhiteboard.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Connect = ((KinectWhiteboard.KinectButton)(target));
     return;
     case 3:
     this.Disconnect = ((KinectWhiteboard.KinectButton)(target));
     return;
     case 4:
     this.Exit = ((KinectWhiteboard.KinectButton)(target));
     return;
     case 5:
     this.InfoLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.ImageLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.PART_ErrorText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.R1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 9:
     this.R2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 10:
     this.R3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 11:
     this.R4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 12:
     this.R5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 13:
     this.R6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 14:
     this.Partner = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 15:
     this.PART_Cursor = ((KinectWhiteboard.KinectCursor)(target));
     return;
     }
     this._contentLoaded = true;
 }