Exemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((Aprender_Teclado.NuevoUsuario)(target));
     
     #line 7 "..\..\NuevoUsuario.xaml"
     this.Window.KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.txtNombre = ((System.Windows.Controls.TextBox)(target));
     
     #line 10 "..\..\NuevoUsuario.xaml"
     this.txtNombre.GotFocus += new System.Windows.RoutedEventHandler(this.txtNombre_GotFocus);
     
     #line default
     #line hidden
     
     #line 10 "..\..\NuevoUsuario.xaml"
     this.txtNombre.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtNombre_KeyUp);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnAceptar = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\NuevoUsuario.xaml"
     this.btnAceptar.Click += new System.Windows.RoutedEventHandler(this.btnAceptar_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnCancelar = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\NuevoUsuario.xaml"
     this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.txtApellido = ((System.Windows.Controls.TextBox)(target));
     
     #line 14 "..\..\NuevoUsuario.xaml"
     this.txtApellido.GotFocus += new System.Windows.RoutedEventHandler(this.txtApellido_GotFocus);
     
     #line default
     #line hidden
     
     #line 14 "..\..\NuevoUsuario.xaml"
     this.txtApellido.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtApellido_KeyUp);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((Aprender_Teclado.NuevoUsuario)(target));

            #line 7 "..\..\NuevoUsuario.xaml"
                this.Window.KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.txtNombre = ((System.Windows.Controls.TextBox)(target));

            #line 10 "..\..\NuevoUsuario.xaml"
                this.txtNombre.GotFocus += new System.Windows.RoutedEventHandler(this.txtNombre_GotFocus);

            #line default
            #line hidden

            #line 10 "..\..\NuevoUsuario.xaml"
                this.txtNombre.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtNombre_KeyUp);

            #line default
            #line hidden
                return;

            case 4:
                this.btnAceptar = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\NuevoUsuario.xaml"
                this.btnAceptar.Click += new System.Windows.RoutedEventHandler(this.btnAceptar_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnCancelar = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\NuevoUsuario.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.txtApellido = ((System.Windows.Controls.TextBox)(target));

            #line 14 "..\..\NuevoUsuario.xaml"
                this.txtApellido.GotFocus += new System.Windows.RoutedEventHandler(this.txtApellido_GotFocus);

            #line default
            #line hidden

            #line 14 "..\..\NuevoUsuario.xaml"
                this.txtApellido.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtApellido_KeyUp);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }