private void btnAddService_Click(object sender, EventArgs e) { frmIns_BookingHalls_Services afrmIns_BookingHalls_Services = new frmIns_BookingHalls_Services(this, this.CurrentIDBookingHall); afrmIns_BookingHalls_Services.ShowDialog(); }
private void btnAddServicesForHalls_Click(object sender, EventArgs e) { try { if (this.CurrentIDBookingHall > 0) { frmIns_BookingHalls_Services afrmIns_BookingHalls_Services = new frmIns_BookingHalls_Services(this, this.CurrentIDBookingHall, this.aNewPaymentEN); afrmIns_BookingHalls_Services.ShowDialog(); } else { MessageBox.Show("Bạn phải chọn hội trường muốn add thêm dịch vụ"); } } catch (Exception ex) { MessageBox.Show("frmTsk_PaymentStep2.btnPrintPaymentTotal_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }