コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.wNuevoProy = ((CAAgenda1.NuevoProyectoWPF)(target));
     return;
     case 2:
     this.lNombreProy = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.lFechaIni = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.lFechaFin = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.lObjetivoProy = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.bCrearProy = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.bCancelar = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.tbNuevoProy = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.dpFechaIni = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 10:
     this.dpFechaFin = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 11:
     this.tblObjetivoProy = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
ファイル: NuevoProyectoWPF.g.cs プロジェクト: titopez/sis325
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.wNuevoProy = ((CAAgenda1.NuevoProyectoWPF)(target));
     return;
     case 2:
     this.lNombreProy = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.lFechaIni = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.lFechaFin = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.lObjetivoProy = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.bCrearProy = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\NuevoProyectoWPF.xaml"
     this.bCrearProy.Click += new System.Windows.RoutedEventHandler(this.bCrearProy_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.bCancelar = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\..\NuevoProyectoWPF.xaml"
     this.bCancelar.Click += new System.Windows.RoutedEventHandler(this.bCancelar_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.tbNuevoProy = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.dpFechaIni = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 10:
     this.dpFechaFin = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 11:
     this.lIncremento = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.tbCajatiempo = ((System.Windows.Controls.TextBox)(target));
     
     #line 19 "..\..\..\NuevoProyectoWPF.xaml"
     this.tbCajatiempo.KeyDown += new System.Windows.Input.KeyEventHandler(this.tbCajatiempo_KeyDown);
     
     #line default
     #line hidden
     return;
     case 13:
     this.tbObjetivo = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.tbNecedidad = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }