private void barButtonItem12_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmTsk_ListBookingHs afrmTsk_ListBookingHs = new frmTsk_ListBookingHs(); afrmTsk_ListBookingHs.ShowDialog(); }
public frmIns_BookingHalls_Services(frmTsk_ListBookingHs afrmTsk_ListBookingHs, int IDBookingHall) { InitializeComponent(); this.IDBookingHall = IDBookingHall; this.afrmTsk_ListBookingHs = afrmTsk_ListBookingHs; }
private void btnDone_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { try { BookingHsBO aBookingHsBO = new BookingHsBO(); int IDBookingH = Convert.ToInt32(grvBookingHs.GetFocusedRowCellValue("ID")); frmTsk_ListBookingHs afrmTsk_ListBookingHs = new frmTsk_ListBookingHs(this, IDBookingH); afrmTsk_ListBookingHs.ShowDialog(); } catch (Exception ex) { MessageBox.Show("frmTsk_ManageBookingHs.btnDone_ButtonClick \n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }