private void Button_registrarConductor_Click(object sender, RoutedEventArgs e) { RegistroCoche registro = new RegistroCoche(); this.Visibility = Visibility.Collapsed; this.Visibility = Visibility.Hidden; registro.Visibility = Visibility.Visible; }
//CONTROLADOR PARA PASAR A LA PANTALLA AUTOM'OVIL DE REGISTRO DE CONDUCTOR, EVENTO DE AQUI PARA SER ELIMINADO private void Button_Volver(object sender, RoutedEventArgs e) { //string salida = Servicios.Servicios.GetRequest("http://localhost:50414/api/conductores"); RegistroCoche regCoche = new RegistroCoche(); regCoche.Visibility = Visibility.Visible; this.Visibility = Visibility.Collapsed; this.Visibility = Visibility.Hidden; }