📄 frmuse.frm
字号:
VERSION 5.00
Begin VB.Form frmUse
BorderStyle = 3 '蛮絬㏕﹚癸杠よ遏
Caption = "Please enter the password."
ClientHeight = 1095
ClientLeft = 45
ClientTop = 330
ClientWidth = 2760
ControlBox = 0 'False
Icon = "frmUse.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1095
ScaleWidth = 2760
ShowInTaskbar = 0 'False
StartUpPosition = 2 '棵辊いァ
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "&Cancel"
Height = 375
Left = 1440
TabIndex = 2
Top = 600
Width = 1215
End
Begin VB.CommandButton cmdOK
Caption = "&OK"
Default = -1 'True
Height = 375
Left = 120
TabIndex = 1
Top = 600
Width = 1215
End
Begin VB.TextBox txtPass
Height = 285
IMEMode = 3 '既ゎ
Left = 120
PasswordChar = "*"
TabIndex = 0
Top = 120
Width = 2535
End
End
Attribute VB_Name = "frmUse"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Password As String
Private Sub cmdCancel_Click()
End
End Sub
Private Sub cmdOK_Click()
If txtPass.text = Password Then
frmMain.Show
Unload Me
Else
MsgBox "Password entered incorrect! Please type again.", vbCritical, App.ProductName
End If
End Sub
Private Sub Form_Load()
Password = LoadPassword(App.EXEName, "option", "password")
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -