📄 frmlogin.frm
字号:
VERSION 5.00
Begin VB.Form FrmLogin
BorderStyle = 3 'Fixed Dialog
Caption = "登入"
ClientHeight = 1425
ClientLeft = 4545
ClientTop = 5325
ClientWidth = 4020
Icon = "FrmLogin.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1425
ScaleWidth = 4020
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton ComCancel
Caption = "取消"
Height = 375
Left = 2640
TabIndex = 3
Top = 840
Width = 1095
End
Begin VB.CommandButton ComOK
Caption = "确定"
Default = -1 'True
Height = 375
Left = 2640
TabIndex = 2
Top = 240
Width = 1095
End
Begin VB.TextBox Text1
Height = 495
IMEMode = 3 'DISABLE
Left = 240
PasswordChar = "*"
TabIndex = 1
Top = 720
Width = 2055
End
Begin VB.Label Label1
Caption = "请输入口令:"
BeginProperty Font
Name = "新宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 0
Top = 240
Width = 1935
End
End
Attribute VB_Name = "FrmLogin"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
End Sub
Private Sub ComCancel_Click()
End
End Sub
Private Sub ComOK_Click()
If LCase(Trim(Text1.Text)) <> "abc" Then
MsgBox ("密码错误,无权使用本系统!")
Text1.Text = ""
Else
Me.Hide
FrmMyPad.Show
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -