【VB开源代码栏目提醒】:网学会员,鉴于大家对VB开源代码十分关注,论文会员在此为大家搜集整理了“8.6.1.frm”一文,供大家参考学习!
VERSION 5.00
Begin VB.Form Form9
Caption = "Form9"
ClientHeight = 3705
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form9"
ScaleHeight = 3705
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.Timer Timer1
Interval = 1000
Left = 1200
Top = 2160
End
Begin VB.CommandButton Command2
Caption = "停止"
Height = 495
Left = 3360
TabIndex = 2
Top = 2400
Width = 855
End
Begin VB.CommandButton Command1
Caption = "开始"
Height = 495
Left = 3360
TabIndex = 1
Top = 1560
Width = 855
End
Begin VB.Label Label1
Caption = "Visual Basic定时器"
ForeColor = &H000000FF&
Height = 495
Left = 480
TabIndex = 0
Top = 360
Width = 1815
End
End
Attribute VB_Name = "Form9"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub Command2_Click()
Timer1.Enabled = False
End Sub
Private Sub Form_Load()
Timer1.Enabled = False
End Sub
Private Sub Timer1_Timer()
Label1.Top = Label1.Top + 100
End Sub