int timeleft = 2;
private void timer1_Tick(object sender, EventArgs e)
{
Color color1 = Color.Red;
Color color2 = Color.WhiteSmoke;
if (timeleft > 0)
{
NotificationBtn.BackColor = color1;
timeleft = timeleft - 1;
}
else
if(timeleft == 0)
{
NotificationBtn.BackColor = color2;
timeleft = timeleft + 2;
}
}