Before you start, it's not a virus, it's a game. I wish that while progressbar does not reach 100% could not close the window when clicking the button and popup appears to say that can not close is the code here:
private void button1_Click(object sender, EventArgs e)
{
if (progressBar1.Value != 100)
{
this.Hide();
}
else if (progressBar1.Value > 100)
{
MessageBox.Show("You need to wait the virus download");
}
}