Example #1
0
 private void btnQuangCao_Click(object sender, EventArgs e)
 {
     try
     {
         if (quyDinhBLL.CapNhatQuangCao((int)numUDSoNgayQuangCao.Value, (int)numUDSoTuBaiViet.Value, (int)numUDThoiGianChupAnh.Value, (float)numUDPhanTramQuangCao.Value))
         {
             MessageBox.Show("Thay đổi quảng cáo thành công");
         }
         else
         {
             MessageBox.Show("Thay đổi quảng cáo thất bại");
         }
     }
     catch
     {
     }
 }