プロジェクトを開発する必要がありますが、このコード ブロックを入力すると、Kaspersky Internet Security からアラートが表示され、exe ファイルが削除されます。
レポートは次のとおりです。
ウイルスを見た後に追加したこのコード:
foreach (DataGridViewRow idrow in dataGridView8.Rows)
{
TimeSpan diftime = new TimeSpan();
DateTime diftimson;
diftimson = Convert.ToDateTime(idrow.Cells[1].Value);
diftime = diftimson.Subtract(DateTime.Now);
double AradakiFark1 = diftime.Hours + Convert.ToInt32(idrow.Cells[4].Value);
int sonuc1 = Convert.ToInt32(AradakiFark1) / 24;
if (sonuc1 <= 3)
{
MessageBox.Show("3 Months Left For " + sonuc1 + " ", "ATTENTION !", MessageBoxButtons.OK, MessageBoxIcon.Warning);
idrow.Cells[0].Style.BackColor = Color.Red;
idrow.Cells[0].Style.ForeColor = Color.White;
}
}
どうすれば修正できますか?