【VB开源代码栏目提醒】:网学会员为需要VB开源代码的朋友们搜集整理了事件的触发.frm相关资料,希望对各位网友有所帮助!
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 2445
ClientLeft = 60
ClientTop = 345
ClientWidth = 2430
LinkTopic = "Form1"
ScaleHeight = 2445
ScaleWidth = 2430
StartUpPosition = 3 '窗口缺省
Begin VB.Timer Timer1
Interval = 1000
Left = 960
Top = 1200
End
End
Attribute
VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim x As Integer
Sub Timer1_Timer()
x = x + 1
Print "事件被触发次数"; x; "次"
End Sub