📄 sp.frm
字号:
VERSION 5.00
Begin VB.Form sp
BackColor = &H00C0FFC0&
Caption = "锁屏系统启动"
ClientHeight = 2565
ClientLeft = 2895
ClientTop = 3045
ClientWidth = 5880
ControlBox = 0 'False
LinkTopic = "Form1"
ScaleHeight = 2565
ScaleWidth = 5880
Begin VB.CommandButton Command1
BackColor = &H80000009&
Caption = "确 定"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1920
Style = 1 'Graphical
TabIndex = 2
Top = 1680
Width = 1935
End
Begin VB.TextBox Text1
Height = 270
IMEMode = 3 'DISABLE
Left = 2520
PasswordChar = "*"
TabIndex = 0
Top = 720
Width = 3015
End
Begin VB.Shape Shape1
BorderColor = &H008080FF&
BorderWidth = 5
FillColor = &H008080FF&
Height = 2535
Left = 0
Top = 0
Width = 5895
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "请输入解锁密码:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 240
TabIndex = 1
Top = 720
Width = 2280
End
End
Attribute VB_Name = "sp"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim yn As New yn
Option Explicit
Private Sub Command1_Click()
Call yn.opendb("select * from 管理员 where 名字='" & man & "'")
If Me.Text1.Text = yn.myrec.Fields("解屏密码") Then
Call yn.closedb
Unload Me
Else
MsgBox "密码输入错误!!!", vbQuestion
Call yn.closedb
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -