Ejemplo n.º 1
0
        private void btnCancelBooking_Click(object sender, EventArgs e)
        {
            DialogResult dialogueResult = MessageBox.Show("Are you sure you want to delete this booking?", "",
                                                          MessageBoxButtons.OKCancel);

            if (dialogueResult == DialogResult.OK)
            {
                BookingOperations.DeleteBooking();
                DataLoading.Allreservations();
                tabControl1.SelectedIndex = 0;
                ClearGuesttxtboxes();
            }
        }
Ejemplo n.º 2
0
 private void btnAllReservations_Click(object sender, EventArgs e)
 {
     DataLoading.Allreservations();
 }