private void barButtonItem35_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { try { frmLst_Permits afrmLst_Permits = new frmLst_Permits(); afrmLst_Permits.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnLstPermit_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public frmUpd_Permits(int ID, frmLst_Permits afrmLst_Permits) { InitializeComponent(); ID_Old = ID; afrmLst_Permits_Old = afrmLst_Permits; }