private void btnAdd_Click(object sender, EventArgs e) { frmIns_Guest afrmIns_Guest = new frmIns_Guest(this); afrmIns_Guest.ShowDialog(); }
private void btnAddGuest_Click(object sender, EventArgs e) { try { frmIns_Guest afrmIns_Guest = new frmIns_Guest(this); afrmIns_Guest.ShowDialog(); } catch (Exception ex) { MessageBox.Show("frmTsk_UpdBooking.btnAddGuest_Click\n" + ex.ToString(), "Error ", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void barButtonItem19_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmIns_Guest afrmIns_Guest = new frmIns_Guest(); afrmIns_Guest.ShowDialog(); }