int i = 60;
private void timer1_Tick(object sender, EventArgs e)
{
if (i == 0)
{
timer1.Stop();
label1.Text = "";
}
else i--;
}
private void button1_Click(object sender, EventArgs e)
{
timer1.Interval = 1000;
timer1.Start();
}
亲爱的:若该文章解决了您的问题,可否收藏+评论+分享呢?
文章评论 本文章有个评论