//Hiennv private void btnAddService_Click(object sender, EventArgs e) { IDBookingHall = Convert.ToInt32(viewHalls.GetFocusedRowCellValue("IDBookingHall")); frmIns_BookingHalls_Services afrmIns_BookingHalls_Services = new frmIns_BookingHalls_Services(this, IDBookingHall); afrmIns_BookingHalls_Services.ShowDialog(); }
private void btnAdd_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { int IDBookingHall = Convert.ToInt32(grvListBookingHalls.GetFocusedRowCellValue("ID")); frmIns_BookingHalls_Services afrmIns_BookingHalls_Services = new frmIns_BookingHalls_Services(this, IDBookingHall); afrmIns_BookingHalls_Services.ShowDialog(); }
public frmIns_Services(frmIns_BookingHalls_Services afrmIns_BookingHalls_Services) { InitializeComponent(); this.afrmIns_BookingHalls_Services = afrmIns_BookingHalls_Services; }