📄 form57.frm
字号:
VERSION 5.00
Begin VB.Form Form57
Caption = "Form57"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form57"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.Timer Timer1
Left = 3600
Top = 2400
End
Begin VB.CommandButton Command1
Caption = "开始"
Height = 495
Left = 3480
TabIndex = 3
Top = 240
Width = 1335
End
Begin VB.CheckBox Check1
Caption = "声音"
Height = 495
Left = 3600
TabIndex = 2
Top = 1320
Width = 1095
End
Begin VB.CommandButton Command4
Caption = "重置"
Height = 495
Left = 3480
TabIndex = 1
Top = 840
Width = 1335
End
Begin VB.TextBox Text1
Alignment = 2 'Center
BeginProperty Font
Name = "宋体"
Size = 60
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2415
Left = 0
TabIndex = 0
Top = 0
Width = 3135
End
End
Attribute VB_Name = "Form57"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim IsStart As Boolean, IsBeep As Boolean
Private Sub Check1_Click()
If IsBeep Then Check1.Value = 0 Else Check1.Value = 1
IsBeep = Not IsBeep
End Sub
Private Sub Command1_Click()
IsStart = Not IsStart
Timer1.Enabled = Not Timer1.Enabled
If IsStart Then Command1.Caption = "取消" Else Command1.Caption = "开始"
End Sub
Private Sub Command4_Click()
Text1.Text = form3.Text1.Text
End Sub
Private Sub Text1_Change()
Text1.Alignment = 2
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -