private void btnXoa_Click(object sender, EventArgs e) { string malop = txtMaLop.Text; UtilityDB data = new UtilityDB(); bool kq = data.deleteLop(malop, serverName, database, user, password); if (kq == true) { MessageBox.Show("Xóa khoa có mã khoa " + malop + " thành công", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBox.Show("Xóa khoa có mã khoa " + malop + " thất bại", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }