📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "打字保险程序"
ClientHeight = 2295
ClientLeft = 45
ClientTop = 330
ClientWidth = 4935
FillColor = &H00C0E0FF&
ForeColor = &H008080FF&
Icon = "Form1.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2295
ScaleWidth = 4935
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
WindowState = 1 'Minimized
Begin VB.CommandButton Command1
Caption = "确定"
Height = 375
Left = 3720
TabIndex = 1
Top = 1680
Width = 855
End
Begin VB.Timer Timer2
Interval = 1000
Left = 480
Top = 2160
End
Begin VB.TextBox Text1
BackColor = &H00000000&
BeginProperty Font
Name = "隶书"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0080FF80&
Height = 2655
Left = 0
MultiLine = -1 'True
TabIndex = 0
Text = "Form1.frx":0ECA
Top = 0
Width = 5175
End
Begin VB.Timer Timer1
Interval = 1000
Left = 2040
Top = 2160
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim fname As String
Dim min, defu As Integer
Dim fff As Boolean
Private Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long
Private Sub Form_Load()
MsgBox "已运行!"
Me.Hide
End Sub
Private Sub Timer2_Timer()
min = min + 1
If min = 15000 Then ExitWindowsEx 13, 0
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -