📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 1485
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 1485
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private WithEvents Timer1 As ccrpTimer
Attribute Timer1.VB_VarHelpID = -1
Dim I As Integer
Private Sub Form_load()
Set Timer1 = New ccrpTimer
With Timer1
.EventType = TimerPeriodic
.Interval = 10
.Stats.Frequency = 1
.Enabled = True
End With
End Sub
Private Sub Timer1_Timer(ByVal Milliseconds As Long)
I = I + 1
If I = 100 Then
Timer1.Enabled = False
MsgBox " 定时时间到 ! "
Unload Me
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -