2个回答
展开全部
建一个Timer1,代码如下。
==========
Dim i As Single
Private Sub Form_Load()
Timer1.Interval = 10
Scale (-1, 1)-(1, -1)
End Sub
Private Sub Timer1_Timer()
i = i + 0.01
Cls
Line (0, 0)-(Cos(i), Sin(i))
End Sub
==========
Dim i As Single
Private Sub Form_Load()
Timer1.Interval = 10
Scale (-1, 1)-(1, -1)
End Sub
Private Sub Timer1_Timer()
i = i + 0.01
Cls
Line (0, 0)-(Cos(i), Sin(i))
End Sub
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
Private Sub Form_Load()
Timer1.Interval = 200
End Sub
Private Sub Timer1_Timer()
Cls
Dim x As Single, y As Single
x = 200
y = 200
Scale (-320, 240)-(320, -240)
Line (0, 0)-(x * Cos(i * Pi / 180), y * Sin(i * Pi / 180))
i = i + 15
End Sub
Timer1.Interval = 200
End Sub
Private Sub Timer1_Timer()
Cls
Dim x As Single, y As Single
x = 200
y = 200
Scale (-320, 240)-(320, -240)
Line (0, 0)-(x * Cos(i * Pi / 180), y * Sin(i * Pi / 180))
i = i + 15
End Sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询