Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\..\UI\areatrabajo.xaml"
     ((SIC.UI.areatrabajo)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.grid_AreaX = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.grid_AreaT = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.pag_trans = ((WpfPageTransitions.PageTransition)(target));
     return;
     case 6:
     this.can_AreaM = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.usc_buscardocente = ((SIC.Objs.Controles.us_BuscarDocente)(target));
     return;
     case 8:
     this.But_Busqueda = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.But_Inicio = ((System.Windows.Controls.Button)(target));
     return;
     case 10:
     this.Guardar = ((System.Windows.Controls.Canvas)(target));
     return;
     case 11:
     this.But_Guardar = ((System.Windows.Controls.Button)(target));
     
     #line 136 "..\..\..\UI\areatrabajo.xaml"
     this.But_Guardar.Click += new System.Windows.RoutedEventHandler(this.But_Guardar_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.Nuevo = ((System.Windows.Controls.Canvas)(target));
     return;
     case 13:
     this.But_Nuevo = ((System.Windows.Controls.Button)(target));
     
     #line 140 "..\..\..\UI\areatrabajo.xaml"
     this.But_Nuevo.Click += new System.Windows.RoutedEventHandler(this.But_Nuevo_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.Declinar = ((System.Windows.Controls.Canvas)(target));
     return;
     case 15:
     this.But_Declinar = ((System.Windows.Controls.Button)(target));
     
     #line 144 "..\..\..\UI\areatrabajo.xaml"
     this.But_Declinar.Click += new System.Windows.RoutedEventHandler(this.But_Declinar_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.Imprimir = ((System.Windows.Controls.Canvas)(target));
     return;
     case 17:
     this.But_Imprimir = ((System.Windows.Controls.Button)(target));
     
     #line 148 "..\..\..\UI\areatrabajo.xaml"
     this.But_Imprimir.Click += new System.Windows.RoutedEventHandler(this.But_Imprimir_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\..\UI\MainWindow.xaml"
     ((SIC.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.grid_AreaX = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.grid_AreaT = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.pag_trans = ((WpfPageTransitions.PageTransition)(target));
     return;
     case 6:
     this.can_AreaM = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.usc_buscardocente = ((SIC.Objs.Controles.us_BuscarDocente)(target));
     return;
     case 8:
     this.But_Busqueda = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.But_Inicio = ((System.Windows.Controls.Button)(target));
     return;
     case 10:
     this.But_Guardar1 = ((System.Windows.Controls.Button)(target));
     return;
     case 11:
     this.But_Nuevo = ((System.Windows.Controls.Button)(target));
     return;
     case 12:
     this.But_Declinar = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }