예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.registro = ((DINT_UD2_EJ1.Registro)(target));
                return;

            case 2:
                this.labelRegistro = ((System.Windows.Controls.Label)(target));

            #line 16 "..\..\Registro.xaml"
                this.labelRegistro.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.labelRegistro_ContextMenuOpening);

            #line default
            #line hidden
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.textBoxNombre = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.textBoxApellido = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.textBoxEmail = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.textBoxDireccion = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.buttonEnviar = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\Registro.xaml"
                this.buttonEnviar.Click += new System.Windows.RoutedEventHandler(this.buttonEnviar_Click_1);

            #line default
            #line hidden
                return;

            case 14:
                this.buttonCancelar = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\Registro.xaml"
                this.buttonCancelar.Click += new System.Windows.RoutedEventHandler(this.buttonCancelar_Click_1);

            #line default
            #line hidden
                return;

            case 15:
                this.buttonBorrar = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\Registro.xaml"
                this.buttonBorrar.Click += new System.Windows.RoutedEventHandler(this.button_Copy1_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.labelError = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 18:
                this.passwordBoxRepetir = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 private void Hyperlink_Click(object sender, RoutedEventArgs e)
 {
     Registro reg = new Registro();
     reg.Show();
 }
예제 #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.registro = ((DINT_UD2_EJ1.Registro)(target));
     return;
     case 2:
     this.labelRegistro = ((System.Windows.Controls.Label)(target));
     
     #line 16 "..\..\Registro.xaml"
     this.labelRegistro.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.labelRegistro_ContextMenuOpening);
     
     #line default
     #line hidden
     return;
     case 3:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.label_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.label_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.label_Copy2 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.label_Copy3 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label_Copy4 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.textBoxNombre = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.textBoxApellido = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.textBoxEmail = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.textBoxDireccion = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.buttonEnviar = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\Registro.xaml"
     this.buttonEnviar.Click += new System.Windows.RoutedEventHandler(this.buttonEnviar_Click_1);
     
     #line default
     #line hidden
     return;
     case 14:
     this.buttonCancelar = ((System.Windows.Controls.Button)(target));
     
     #line 33 "..\..\Registro.xaml"
     this.buttonCancelar.Click += new System.Windows.RoutedEventHandler(this.buttonCancelar_Click_1);
     
     #line default
     #line hidden
     return;
     case 15:
     this.buttonBorrar = ((System.Windows.Controls.Button)(target));
     
     #line 34 "..\..\Registro.xaml"
     this.buttonBorrar.Click += new System.Windows.RoutedEventHandler(this.button_Copy1_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.labelError = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 18:
     this.passwordBoxRepetir = ((System.Windows.Controls.PasswordBox)(target));
     return;
     }
     this._contentLoaded = true;
 }