📄 psw.frm
字号:
VERSION 5.00
Begin VB.Form psw
BorderStyle = 4 'Fixed ToolWindow
Caption = "系统登录"
ClientHeight = 1725
ClientLeft = 5025
ClientTop = 3465
ClientWidth = 4965
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1725
ScaleWidth = 4965
ShowInTaskbar = 0 'False
Begin VB.CommandButton Command2
Caption = "退 出"
Height = 375
Left = 2880
Picture = "psw.frx":0000
TabIndex = 3
Top = 1080
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "确 定"
Default = -1 'True
Height = 375
Left = 1440
Picture = "psw.frx":4B146
TabIndex = 2
Top = 1080
Width = 1215
End
Begin VB.TextBox Text1
ForeColor = &H000000FF&
Height = 240
IMEMode = 3 'DISABLE
Left = 2280
PasswordChar = "*"
TabIndex = 0
Top = 600
Width = 2295
End
Begin VB.Shape Shape1
BorderColor = &H00C0C0C0&
Height = 1455
Left = 120
Top = 120
Width = 4695
End
Begin VB.Image Image1
Height = 495
Left = 960
Picture = "psw.frx":9628C
Stretch = -1 'True
Top = 720
Width = 555
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "请输入登陆密码:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 360
TabIndex = 1
Top = 525
Width = 1920
End
End
Attribute VB_Name = "psw"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = GetSetting("pws", "pws", "pws") Then
Unload Me
fmain.Show
Else
MsgBox "密码错误!"
Text1.Text = ""
End If
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Load()
pwss = GetSetting("pws", "pws", "pws")
If pwss = "" Then
SaveSetting "pws", "pws", "pws", "123456"
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -