📄 frmlock.frm
字号:
VERSION 5.00
Begin VB.Form rsglLock
BorderStyle = 3 'Fixed Dialog
Caption = "工作站解锁"
ClientHeight = 2220
ClientLeft = 2760
ClientTop = 3750
ClientWidth = 5550
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 2220
ScaleWidth = 5550
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton CmdOk
Caption = "确定(&O)"
Default = -1 'True
Height = 375
Left = 3960
TabIndex = 1
Top = 1440
Width = 1215
End
Begin VB.TextBox txtPassword
Height = 375
IMEMode = 3 'DISABLE
Left = 360
MaxLength = 10
PasswordChar = "*"
TabIndex = 0
Top = 1440
Width = 3375
End
Begin VB.Image Image1
Height = 480
Left = 360
Picture = "frmLock.frx":0000
Top = 240
Width = 480
End
Begin VB.Label Label2
Caption = "请输入密码或用钥匙解锁:"
Height = 255
Left = 360
TabIndex = 3
Top = 1200
Width = 3975
End
Begin VB.Label Label1
Caption = "本工作站已被操作员锁定"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 1080
TabIndex = 2
Top = 360
Width = 3495
End
End
Attribute VB_Name = "rsglLock"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
Me.Height = 2595
Me.Width = 5640
End Sub
Private Sub CmdOk_Click()
'读入解锁信息,判断是否与授权用户的符合
If Trim(txtPassword) = RSGLOperator.Password Then
Unload Me
Else
MsgBox "无效的密码,请重试!", vbInformation, "解锁"
txtPassword.SetFocus
SendKeys "{Home}+{End}"
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -