Ejemplo n.º 1
0
        private void btnViewDetails_Click(object sender, EventArgs e)
        {
            Globals.reservationId = dgvReservations_SelectionChanged(sender, e);
            var form = new ReservationInfoFrm();

            form.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        private void btnSelectReservation_Click(object sender, EventArgs e)
        {
            dtpDateFilter.Enabled     = false;
            dgvReservations.Enabled   = false;
            btnFindByDocument.Enabled = false;
            btnFindByName.Enabled     = false;
            txtFindByDocument.Enabled = false;
            txtFindByName.Enabled     = false;

            Globals.reservationId = int.Parse(dgvReservations.SelectedRows[0].Cells["reservation_id"].Value.ToString());
            var form = new ReservationInfoFrm();

            form.Show();
            this.Close();
        }
        private void SelectGuestFrm_FormClosed(object sender, FormClosedEventArgs e)
        {
            var form = new ReservationInfoFrm();

            form.Show();
        }