public frmUpd_Configs(frmLst_Configs afrmLst_Configs, int ID,string AccessKey) { InitializeComponent(); this.afrmLst_Configs = afrmLst_Configs; this.ID = ID; this.AccessKey = AccessKey; }
private void barButtonItem37_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { try { frmLst_Configs afrmLst_Configs = new frmLst_Configs(); afrmLst_Configs.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnLstConfig_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }