Esempio n. 1
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.Hide();
            EditarHabitaciones habitaciones = new EditarHabitaciones();

            habitaciones.codigo_reserva = codigo_reserva;
            habitaciones.hotel_id       = hotel_id;
            habitaciones.StartPosition  = FormStartPosition.CenterScreen;
            habitaciones.Show();
        }
Esempio n. 2
0
 private void buttonContinuar_Click(object sender, EventArgs e)
 {
     this.Hide();
     if (comboBoxAccion.Text == "Editar habitaciones")
     {
         EditarHabitaciones habitaciones = new EditarHabitaciones();
         habitaciones.codigo_reserva = codigo_reserva;
         habitaciones.hotel_id       = hotel_id;
         habitaciones.StartPosition  = FormStartPosition.CenterScreen;
         habitaciones.Show();
     }
     else
     {
         EditarReservaCampos reserva = new EditarReservaCampos();
         reserva.codigo_reserva = codigo_reserva;
         reserva.hotel_id       = hotel_id;
         reserva.StartPosition  = FormStartPosition.CenterScreen;
         reserva.Show();
     }
 }