private void btnxRemoveProduct_Click(object sender, EventArgs e) { DialogResult result = MessageBox.Show("Xác nhận xoá Sản phẩm ID = " + this.rowData.Cells[0].Value.ToString(), "XOÁ SẢN PHẨM", MessageBoxButtons.OKCancel, MessageBoxIcon.Question); if (result == DialogResult.OK) { ProductBLL prdBLL = new ProductBLL(); prdBLL.DeleteRow(this.id); this.setAllDataToDataGridView(); this.btnxEditProduct.Enabled = false; this.btnxRemoveProduct.Enabled = false; } else { //MessageBox.Show("Cancel"); } }