在窗体中有一个计时器(名称为tmrEx,Interval属性为1000)、3个图像框(名称分别为imgEx1、imgEx2、imgEx3),其中分别装中国、美国、日本国旗,并已编写如下代码,运行过了5秒后显示的国旗是: Private Sub tmrEx_Timer() Static I As Integer If I Mod 3 = 0 Then imgEx1.Visible = True imgEx2.Visible = False imgEx3.Visible = False ElseIf I Mod 3 = 1 Then imgEx1.Visible = False imgEx2.Visible = True imgEx3.Visible = False Else imgEx1.Visible = False imgEx2.Visible = False imgEx3.Visible = True End If I = I + 1 End Sub