Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Mouse = ((KControls.KMouse)(target));
     return;
     case 2:
     this.Controles = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 3:
     this.VP_HB_Pincel = ((KControls.KHoverButton)(target));
     
     #line 9 "..\..\..\Paint.xaml"
     this.VP_HB_Pincel.Click += new KControls.KHoverButton.ClickHandler(this.Pincel_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Dibujo = ((System.Windows.Controls.InkCanvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\PaintWindow.xaml"
     ((KWpf.PaintWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\PaintWindow.xaml"
     ((KWpf.PaintWindow)(target)).Closed += new System.EventHandler(this.WindowClosed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Expansor = ((System.Windows.Controls.Expander)(target));
     return;
     case 3:
     this.kinectSensorChooser = ((KBasic.SensorChooser)(target));
     return;
     case 4:
     this.video = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.VPai_LS_SelectedTool = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.VPai_L_SelectedTool = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.LeftHand = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.VPai_Ch_Seated = ((System.Windows.Controls.CheckBox)(target));
     
     #line 16 "..\..\..\PaintWindow.xaml"
     this.VPai_Ch_Seated.Checked += new System.Windows.RoutedEventHandler(this.VPai_Ch_SeatedModeChanged);
     
     #line default
     #line hidden
     
     #line 16 "..\..\..\PaintWindow.xaml"
     this.VPai_Ch_Seated.Unchecked += new System.Windows.RoutedEventHandler(this.VPai_Ch_SeatedModeChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.Status = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.Status2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.B_SubKinect = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\..\PaintWindow.xaml"
     this.B_SubKinect.Click += new System.Windows.RoutedEventHandler(this.B_SubKinect_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.B_BajKinect = ((System.Windows.Controls.Button)(target));
     
     #line 20 "..\..\..\PaintWindow.xaml"
     this.B_BajKinect.Click += new System.Windows.RoutedEventHandler(this.B_BajKinect_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.Expansor2 = ((System.Windows.Controls.Expander)(target));
     
     #line 22 "..\..\..\PaintWindow.xaml"
     this.Expansor2.Expanded += new System.Windows.RoutedEventHandler(this.Expansor2_Expanded);
     
     #line default
     #line hidden
     return;
     case 14:
     this.VPai_HB_Nuevo = ((KControls.KHoverButton)(target));
     
     #line 24 "..\..\..\PaintWindow.xaml"
     this.VPai_HB_Nuevo.Click += new KControls.KHoverButton.ClickHandler(this.VPai_HB_Nuev_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.VPai_HB_Guard = ((KControls.KHoverButton)(target));
     
     #line 25 "..\..\..\PaintWindow.xaml"
     this.VPai_HB_Guard.Click += new KControls.KHoverButton.ClickHandler(this.VPai_HB_Guard_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.VPai_HB_Lapi = ((KControls.KHoverButton)(target));
     
     #line 26 "..\..\..\PaintWindow.xaml"
     this.VPai_HB_Lapi.Click += new KControls.KHoverButton.ClickHandler(this.VPai_HB_Lapi_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.VPai_HB_Pinc = ((KControls.KHoverButton)(target));
     
     #line 27 "..\..\..\PaintWindow.xaml"
     this.VPai_HB_Pinc.Click += new KControls.KHoverButton.ClickHandler(this.VPai_HB_Pinc_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.VPai_HB_Goma = ((KControls.KHoverButton)(target));
     
     #line 28 "..\..\..\PaintWindow.xaml"
     this.VPai_HB_Goma.Click += new KControls.KHoverButton.ClickHandler(this.VPai_HB_Goma_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.VPai_HB_Borr = ((KControls.KHoverButton)(target));
     
     #line 29 "..\..\..\PaintWindow.xaml"
     this.VPai_HB_Borr.Click += new KControls.KHoverButton.ClickHandler(this.VPai_HB_Borr_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.VPai_HB_Resa = ((KControls.KHoverButton)(target));
     
     #line 30 "..\..\..\PaintWindow.xaml"
     this.VPai_HB_Resa.Click += new KControls.KHoverButton.ClickHandler(this.VPai_HB_Resa_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.Dibujo = ((System.Windows.Controls.InkCanvas)(target));
     return;
     }
     this._contentLoaded = true;
 }