public BookingConfirmation(CreateBooking frmBack)
        {
            this.frm = frmBack;
            InitializeComponent();
           

        }
Ejemplo n.º 2
0
 private void buttonUpdate_Click(object sender, EventArgs e)
 {
     setIdBooking();
     CreateBooking frm = new CreateBooking();
     frm.setParamsForUpdate(id_booking);
     frm.Show();
     this.Hide();
 }
Ejemplo n.º 3
0
        private void buttonUpdate_Click(object sender, EventArgs e)
        {
            setIdBooking();
            CreateBooking frm = new CreateBooking();

            frm.setParamsForUpdate(id_booking);
            frm.Show();
            this.Hide();
        }
Ejemplo n.º 4
0
        public RegimensForHotel(Generar_Modificar_Reserva.CreateBooking frmBack)
        {
            this.frm = frmBack;
            InitializeComponent();
            id_hotel = Int32.Parse(textBoxId.Text);
            DataTable results = rh.getRegimensForHotel(id_hotel).Tables[0];
            BindingSource bs = new BindingSource();
            bs.DataSource = results;
            dataGridViewReg.DataSource = bs;

        }
Ejemplo n.º 5
0
        public RegimensForHotel(Generar_Modificar_Reserva.CreateBooking frmBack)
        {
            this.frm = frmBack;
            InitializeComponent();
            id_hotel = Int32.Parse(textBoxId.Text);
            DataTable     results = rh.getRegimensForHotel(id_hotel).Tables[0];
            BindingSource bs      = new BindingSource();

            bs.DataSource = results;
            dataGridViewReg.DataSource = bs;
        }
Ejemplo n.º 6
0
 public BookingConfirmation(CreateBooking frmBack)
 {
     this.frm = frmBack;
     InitializeComponent();
 }