题库 高中信息

题干

小辉用Visual Basic制作了一个动画程序,部分程序代码如下所示

Dim a As Integer

Private Sub Command1_Click()

Timer1.Enabled = True

Timer1.Interval = 100

End Sub

Private Sub Timer1_Timer()

a = a + 1

Image1.Picture = LoadPicture(App.Path & "\" & a & ".jpg")

If a >= 8 Then  a = 0

End Sub

   单击命令按钮Command1,加框处语句执行的时间间隔为(  )
A.0.1秒B.1秒C.10秒D.100秒
上一题 下一题 0.99难度 选择题 更新时间:2019-06-04 05:13:38

答案(点此获取答案解析)