public BuscarHabitacionLibre(GenerarReserva owner, int hotelActual, string desdePick, string hastaPick, string regimen,char fun) { fx = fun; InitializeComponent(); hotel = hotelActual; desde = desdePick; hasta = hastaPick; idRegimen = regimen; padre = owner; setearGrid(GridHabitaciones); }
public PreciosYConfirmacion(string tipoRegimen, int idDelHotel, decimal cantHues, decimal cantSimples, decimal cantDobles, decimal cantTri, decimal cantCuadru, decimal cantQuin, string fechaDesde, string fechaHasta, string usuarioDeSesion, GenerarReserva formulario) { InitializeComponent(); formularioAnterior = formulario; this.regimenElegido = tipoRegimen; this.idHotelEnCuestion = idDelHotel; this.cantidadHuespedes = cantHues; this.cantidadSimples = cantSimples; this.cantidadDobles = cantDobles; this.cantidadTriples = cantTri; this.cantidadCuadruples = cantCuadru; this.cantidadQuintuples = cantQuin; this.fechaDesde = fechaDesde; this.fechaHasta = fechaHasta; this.usuarioDeSesion = usuarioDeSesion; }