private void barButtonItem36_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { try { frmIns_Permits afrmIns_Permits = new frmIns_Permits(); afrmIns_Permits.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnInsPermit_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void btnAdd_Click(object sender, EventArgs e) { frmIns_Permits afrmIns_Permits = new frmIns_Permits(this); afrmIns_Permits.Show(); }
private void btnReportPerformance_ItemDoubleClick(object sender, ItemClickEventArgs e) { try { frmIns_Permits afrmIns_Permits = new frmIns_Permits(); afrmIns_Permits.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnInsPermit_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }