3个回答
展开全部
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub Command2_Click()
Timer1.Enabled = False
Timer2.Enabled = True
Label1.Caption = Text1.Text
End Sub
Private Sub Form_Load()
Command1.Caption = "开始"
Command2.Caption = "停"
Text1.Text = ""
Label1.Caption = ""
Timer1.Interval = 500
Timer2.Interval = 1000
Timer1.Enabled = False
Timer2.Enabled = False
End Sub
Private Sub Timer1_Timer()
Text1.ForeColor = QBColor(Int(Rnd * 15))
Text1.Text = 100000 + Int(Rnd * 900000)
End Sub
Private Sub Timer2_Timer()
Label1.Font.Size = Int(20 + Rnd * 21)
Label1.ForeColor = QBColor(Int(Rnd * 15))
End Sub
Timer1.Enabled = True
End Sub
Private Sub Command2_Click()
Timer1.Enabled = False
Timer2.Enabled = True
Label1.Caption = Text1.Text
End Sub
Private Sub Form_Load()
Command1.Caption = "开始"
Command2.Caption = "停"
Text1.Text = ""
Label1.Caption = ""
Timer1.Interval = 500
Timer2.Interval = 1000
Timer1.Enabled = False
Timer2.Enabled = False
End Sub
Private Sub Timer1_Timer()
Text1.ForeColor = QBColor(Int(Rnd * 15))
Text1.Text = 100000 + Int(Rnd * 900000)
End Sub
Private Sub Timer2_Timer()
Label1.Font.Size = Int(20 + Rnd * 21)
Label1.ForeColor = QBColor(Int(Rnd * 15))
End Sub
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你好厉害呀,会编程吗?我一点不会耶😊
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询