private void BtnBookingChangeCustomer_Click(object sender, EventArgs e) { Booking_Customer bookingAdd = new Booking_Customer(); DialogResult result = bookingAdd.ShowDialog(); txtBookingCustomer.Text = Booking.customerName; }
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(); }
private void BtnChangeCustomer_Click(object sender, EventArgs e) { Booking_Customer booking_Customer = new Booking_Customer(); booking_Customer.ShowDialog(); }