private void barButtonItem33_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { try { frmLst_PermitDetails afrmLst_PermitDetails = new frmLst_PermitDetails(); afrmLst_PermitDetails.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnLstDetailPermit_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public frmUpd_PermitDetail(int ID, frmLst_PermitDetails afrmLst_PermitDetails) { InitializeComponent(); ID_Old = ID; afrmLst_PermitDetails_Old = afrmLst_PermitDetails; }
public frmIns_PermitDetail(frmLst_PermitDetails afrmLst_PermitDetails) { InitializeComponent(); this.afrmLst_PermitDetails_Old = afrmLst_PermitDetails; }