private void barButtonItem18_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmLst_Guests afrmLst_Guests = new frmLst_Guests(); afrmLst_Guests.Show(); }
private void btnSearchGuest_Click(object sender, EventArgs e) { try { frmLst_Guests afrmLst_Guests = new frmLst_Guests(this); afrmLst_Guests.ShowDialog(); } catch (Exception ex) { MessageBox.Show("frmTsk_UpdBooking.btnSearchGuest_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public frmUpd_Guests(frmLst_Guests afrmLst_Guests, int IDGuest) { InitializeComponent(); this.afrmLst_Guests = afrmLst_Guests; this.IDGuest = IDGuest; }