void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.YouKeyboard = ((You_AirPaint.Keyboard)(target)); return; case 2: this.YouKeyboardRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target)); return; case 3: this.YouKeyboardCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 4: this.Mail = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.MainMenuButton = ((YouInteract.YouInteractAPI.YouButton)(target)); #line 77 "..\..\Keyboard.xaml" this.MainMenuButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 77 "..\..\Keyboard.xaml" this.MainMenuButton.GripEvent += new YouInteract.YouInteractAPI.onGripHandler(this.Button_GripEvent); #line default #line hidden return; case 6: this.Send = ((YouInteract.YouInteractAPI.YouButton)(target)); #line 81 "..\..\Keyboard.xaml" this.Send.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 81 "..\..\Keyboard.xaml" this.Send.GripEvent += new YouInteract.YouInteractAPI.onGripHandler(this.Button_GripEvent); #line default #line hidden return; case 7: this.Clear = ((YouInteract.YouInteractAPI.YouButton)(target)); #line 85 "..\..\Keyboard.xaml" this.Clear.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 85 "..\..\Keyboard.xaml" this.Clear.GripEvent += new YouInteract.YouInteractAPI.onGripHandler(this.Button_GripEvent); #line default #line hidden return; case 8: this.Numeros = ((YouInteract.YouInteractAPI.YouButton)(target)); #line 89 "..\..\Keyboard.xaml" this.Numeros.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 89 "..\..\Keyboard.xaml" this.Numeros.GripEvent += new YouInteract.YouInteractAPI.onGripHandler(this.Button_GripEvent); #line default #line hidden return; case 9: this.ScrollViewer = ((Microsoft.Kinect.Toolkit.Controls.KinectScrollViewer)(target)); return; case 10: this.WrapScrollPanel = ((System.Windows.Controls.WrapPanel)(target)); return; case 11: this.ScrollRight = ((YouInteract.YouInteractAPI.KinectHoverButton)(target)); #line 98 "..\..\Keyboard.xaml" this.ScrollRight.Click += new System.Windows.RoutedEventHandler(this.PageRightButtonClick); #line default #line hidden return; case 12: this.ScrollLeft = ((YouInteract.YouInteractAPI.KinectHoverButton)(target)); #line 99 "..\..\Keyboard.xaml" this.ScrollLeft.Click += new System.Windows.RoutedEventHandler(this.PageLeftButtonClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.YouKeyboard = ((You_AirPaint.Keyboard)(target)); return; case 2: this.YouKeyboardRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target)); return; case 3: this.YouKeyboardCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 4: this.Mail = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.MainMenuButton = ((YouInteract.YouInteractAPI.YouButton)(target)); #line 77 "..\..\Keyboard.xaml" this.MainMenuButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 77 "..\..\Keyboard.xaml" this.MainMenuButton.GripEvent += new YouInteract.YouInteractAPI.onGripHandler(this.Button_GripEvent); #line default #line hidden return; case 6: this.Send = ((YouInteract.YouInteractAPI.YouButton)(target)); #line 81 "..\..\Keyboard.xaml" this.Send.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 81 "..\..\Keyboard.xaml" this.Send.GripEvent += new YouInteract.YouInteractAPI.onGripHandler(this.Button_GripEvent); #line default #line hidden return; case 7: this.Clear = ((YouInteract.YouInteractAPI.YouButton)(target)); #line 85 "..\..\Keyboard.xaml" this.Clear.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 85 "..\..\Keyboard.xaml" this.Clear.GripEvent += new YouInteract.YouInteractAPI.onGripHandler(this.Button_GripEvent); #line default #line hidden return; case 8: this.Numeros = ((YouInteract.YouInteractAPI.YouButton)(target)); #line 89 "..\..\Keyboard.xaml" this.Numeros.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 89 "..\..\Keyboard.xaml" this.Numeros.GripEvent += new YouInteract.YouInteractAPI.onGripHandler(this.Button_GripEvent); #line default #line hidden return; case 9: this.ScrollViewer = ((Microsoft.Kinect.Toolkit.Controls.KinectScrollViewer)(target)); return; case 10: this.WrapScrollPanel = ((System.Windows.Controls.WrapPanel)(target)); return; case 11: this.ScrollRight = ((YouInteract.YouInteractAPI.KinectHoverButton)(target)); #line 98 "..\..\Keyboard.xaml" this.ScrollRight.Click += new System.Windows.RoutedEventHandler(this.PageRightButtonClick); #line default #line hidden return; case 12: this.ScrollLeft = ((YouInteract.YouInteractAPI.KinectHoverButton)(target)); #line 99 "..\..\Keyboard.xaml" this.ScrollLeft.Click += new System.Windows.RoutedEventHandler(this.PageLeftButtonClick); #line default #line hidden return; } this._contentLoaded = true; }