【VB开源代码栏目提醒】:网学会员为广大网友收集整理了,编写小时钟程序.frm,希望对大家有所帮助!
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "结束"
BeginProperty Font
Name = "Tahoma"
Size = 15.75
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1560
TabIndex = 1
Top = 2280
Width = 1575
End
Begin VB.TextBox Text1
Alignment = 2 'Center
Height = 975
Left = 1560
TabIndex = 0
Text = "Text1"
Top = 720
Width = 1575
End
Begin VB.Timer Timer1
Interval = 1000
Left = 500
Top = 800
End
End
Attribute
VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
End
End Sub
Private Sub Timer1_Timer()
Timer1.Interval = 1000
Text1 = Time
End Sub