110,533
社区成员
发帖
与我相关
我的任务
分享
private void button1_Click(object sender, EventArgs e)
{
timer1.Interval=5000;
timer1.start();
}
private void timer1_Tick(object sender, EventArgs e, string asd)
{
picturebox1.Visable = false;
picturebox2.Visable = false;
for (i=1; i<10; i++)
{
for(j=1; j<5; j++ )
{
c = G(i, j); //通过函数,由i,j计算出c值
if (c==d)
{
picturebox1.Visable = true;
break;
}
else
{
picturebox2.Visable = true;
}
}
}