private void Button1_Click(object sender, EventArgs e) { Booking_Date bookingDate = new Booking_Date(); DialogResult result = bookingDate.ShowDialog(); loadBookingDetails(); }
private void Booking_Details_Load(object sender, EventArgs e) { Booking_Customer customer = new Booking_Customer(); DialogResult result = customer.ShowDialog(); if (result == DialogResult.Cancel) { Dispose(); return; } Booking_Date bookEventDate = new Booking_Date(); result = bookEventDate.ShowDialog(); if (result == DialogResult.Cancel) { Dispose(); return; } loadBookingDetails(); }