private void ChinhSua_Click(object sender, EventArgs e) { ThemNhanViens f = new ThemNhanViens(); //MessageBox.Show(dataGridView1.CurrentRow.Cells["MaNhanVien"].Value.ToString()); f.maNV = dataGridView1.CurrentRow.Cells["MaNhanVien"].Value.ToString(); f.Show(); }
private void Them_Click(object sender, EventArgs e) { ThemNhanViens f = new ThemNhanViens(); f.maNV = null; f.Show(); }