📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 1440
ClientLeft = 60
ClientTop = 345
ClientWidth = 2745
LinkTopic = "Form1"
ScaleHeight = 1440
ScaleWidth = 2745
StartUpPosition = 3 'Windows Default
Begin VB.TextBox Text1
Height = 375
Left = 120
TabIndex = 2
Text = "Text1"
Top = 480
Width = 1215
End
Begin VB.CommandButton Set
Caption = "Set"
Height = 375
Left = 1560
TabIndex = 1
Top = 480
Width = 1095
End
Begin VB.CommandButton Beep
Caption = "Beep"
Height = 375
Left = 1560
TabIndex = 0
Top = 960
Width = 1095
End
Begin VB.Label Label1
Caption = "Count"
Height = 255
Left = 120
TabIndex = 3
Top = 120
Width = 735
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim BeeperCnt As BeepCnt
Private Sub Beep_Click()
Text1 = BeeperCnt
BeeperCnt.Beep
End Sub
Private Sub Set_Click()
BeeperCnt = Val(Text1)
Text1 = BeeperCnt
End Sub
Private Sub Form_Load()
Set BeeperCnt = New BeepCnt
Text1 = BeeperCnt
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -