private void btnExtendTerm_Click(object sender, System.EventArgs e) { DialogResult dialogResult = MessageBox.Show("Phí giữ xe là: " + customer.Fee.Price.ToString("###,###") + "đ, \nTiếp tục?", "Xác nhận", MessageBoxButtons.YesNo); if (dialogResult == DialogResult.Yes) { if (parkingDao.ExtendTerm(tbTicketIdInput.Text.Trim()) == Constants.RESULT_OK) { cbStatus.SelectedIndex = 0; MessageBox.Show("Gia hạn thành công!", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBox.Show("Gia hạn thất bại", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); } } }