private void btnAcceptDefaultAddress_Click(object sender, EventArgs e) { string IDAddress_User = lstAddress[indexCombobox]; bool check = OrderItemsController.ChangeDefauleAddress_User(UserName, PassWord, IDAddress_User, ref err); if (check == true) { MessageBox.Show("Bạn đã đổi địa chỉ mặc định thành công", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBox.Show("Đổi địa chỉ mặc định thất bại", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }