private void btnThemNV_Click(object sender, EventArgs e) { frm_AddNhanVien frm_Add = new frm_AddNhanVien(); frm_Add.ShowDialog(); HienThiDanhSachNV(); }
private void btnSuaNV_Click(object sender, EventArgs e) { string manv = ""; frm_AddNhanVien frm_Update = new frm_AddNhanVien(); manv = "" + dgrNhanVien.CurrentRow.Cells[0].Value; frm_Update.MaNV = manv; frm_Update.ShowDialog(); HienThiDanhSachNV(); }