private void btnThemTacGia_Click(object sender, EventArgs e) { if (txtTenTG.Text == "") { MessageBox.Show("Xin vui lòng nhập tên tác giả !!!", "THÔNG BÁO"); txtTenTG.Focus(); return; } try { TacGiaBUS TacGiaBUS = new TacGiaBUS(); TacGiaBUS.ThemTacGia(txtTenTG.Text); MessageBox.Show("Thêm thành công"); LoadDanhSachTacGia(); } catch (Exception ex) { MessageBox.Show("Thêm thất bại - Lỗi :" + ex.ToString()); } }