private void Btn_cancelarModificarDuenio_Click(object sender, RoutedEventArgs e)
        {
            Principal_Contacto X = new Principal_Contacto(txtbx_EmailDuenio.Text);

            X.Show();
            this.Close();
        }
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Principal_Contacto X = new Principal_Contacto(txtbx_UsuarioInmobiliaria.Text);

            X.Show();
            this.Close();
        }
 private void Btn_cancelarAñadirPropiedad_Click(object sender, RoutedEventArgs e) // eventoq ue cierra la ventana mediante un click en el boton cancelar
 {
     if (mostrar)
     {
         //PrincipalCliente C = new PrincipalCliente(mail);
         //C.Show();
         this.Close();
     }
     else
     {
         Principal_Contacto C = new Principal_Contacto(mail);
         C.Show();
         this.Close();
     }
 }
Beispiel #4
0
 private void Btn_CancelarCrearTerreno_Click(object sender, RoutedEventArgs e) // evento para cerrrar la ventana mediante un click en el boton cancelar
 {
     if (mostrar)
     {
         //PrincipalCliente C = new PrincipalCliente(mail);
         //C.Show();
         this.Close();
     }
     else
     {
         Principal_Contacto C = new Principal_Contacto(mail);
         C.Show();
         this.Close();
     }
 }