📄 frmpassword.frm
字号:
VERSION 5.00
Begin VB.Form FrmPassword
BorderStyle = 3 'Fixed Dialog
Caption = "解锁"
ClientHeight = 1575
ClientLeft = 45
ClientTop = 330
ClientWidth = 4005
Icon = "FrmPassword.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1575
ScaleWidth = 4005
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton CmdCancel
Caption = "取消"
Height = 375
Left = 2580
TabIndex = 3
Top = 900
Width = 1095
End
Begin VB.CommandButton CmdOK
Caption = "确定"
Height = 375
Left = 1140
TabIndex = 2
Top = 900
Width = 1155
End
Begin VB.TextBox TxtPassword
Height = 315
IMEMode = 3 'DISABLE
Left = 1740
PasswordChar = "*"
TabIndex = 1
Top = 300
Width = 1935
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "请输入解锁密码"
Height = 180
Left = 180
TabIndex = 0
Top = 360
Width = 1260
End
End
Attribute VB_Name = "FrmPassword"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CmdCancel_Click()
Unload Me
End Sub
Private Sub CmdOK_Click()
If Trim(TxtPassword) = strPassword Then
isOK = True
Else
isOK = False
MsgBox "密码错误!"
End If
Unload Me
End Sub
Private Sub Form_Load()
isOK = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -