如题,我想写picturebox的循环语句,让picturebox3~27都只行针对picturebox1的一个事件,即如下事件。
If PictureBox6.Visible = True And 0 <= PictureBox1.Left - PictureBox6.Left And PictureBox1.Left - PictureBox6.Left <= 94 And PictureBox1.Top - PictureBox6.Top <= 23 And PictureBox1.Bottom = PictureBox6.Top And Timer4.Enabled = True Then
Timer4.Enabled = False
Timer1.Enabled = True
PictureBox6.Visible = False
End If
但是用FOR语句使用I的时候,.net提示picturebox不能作为表达式使用。请问应该如何写?
怎么改为数组啊,老师。