private void button4_Click(object sender, EventArgs e) { Services.Usuario usuario = new Services.Usuario(); try { if (usuario.isLogged()) { AlquilerForm alquiler = new AlquilerForm(); alquiler.ShowDialog(); } } catch (Exception error) { MessageBox.Show(error.Message, "Error"); SignIn signIn = new SignIn(); signIn.ShowDialog(); } }
private void label11_Click(object sender, EventArgs e) { AlquilerForm alquiler = new AlquilerForm(); alquiler.ShowDialog(); }
private void button4_Click(object sender, EventArgs e) { AlquilerForm alquilerForm = new AlquilerForm(); alquilerForm.ShowDialog(); }