110,539
社区成员
发帖
与我相关
我的任务
分享
Timer1.interval=100;
int iiii = 6;
private void Timer1_Tick(System.Object sender, System.EventArgs e)
{
if (iiii > 0)
{
System.Diagnostics.Process.Start("https://www.baidu.com");//打开网址
iiii -= 1;
}
}
Timer1.interval=100;
int iiii = 6;
private void Timer1_Tick(System.Object sender, System.EventArgs e)
{
if (iiii > 0)
{
iiii -= 1;
System.Diagnostics.Process.Start("https://www.baidu.com");//打开网址
}
}
你再看看会执行超过6次吗?