private void barButtonItem34_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { try { frmIns_PermitDetail afrmIns_PermitDetail = new frmIns_PermitDetail(); afrmIns_PermitDetail.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnInsDetailPermit_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void btnAdd_Click(object sender, EventArgs e) { frmIns_PermitDetail afrmIns_PermitDetail = new frmIns_PermitDetail(this); afrmIns_PermitDetail.ShowDialog(); }