📄 form_exituserpasword.frm
字号:
VERSION 5.00
Begin VB.Form Form_Userpassword
BorderStyle = 1 'Fixed Single
Caption = "口令"
ClientHeight = 960
ClientLeft = 4500
ClientTop = 3420
ClientWidth = 3930
Icon = "Form_ExitUserPasword.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 960
ScaleWidth = 3930
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "取消&C"
Height = 300
Left = 2700
TabIndex = 5
Top = 510
Width = 1125
End
Begin VB.CommandButton Command1
Caption = "确定&D"
Height = 315
Left = 2700
TabIndex = 4
Top = 90
Width = 1125
End
Begin VB.TextBox Text1
Height = 285
IMEMode = 3 'DISABLE
Index = 1
Left = 780
MaxLength = 8
PasswordChar = "*"
TabIndex = 0
Top = 90
Width = 1755
End
Begin VB.TextBox Text1
Height = 285
IMEMode = 3 'DISABLE
Index = 2
Left = 780
MaxLength = 8
PasswordChar = "*"
TabIndex = 1
Top = 510
Width = 1755
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "口令"
Height = 180
Index = 1
Left = 210
TabIndex = 3
Top = 150
Width = 360
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "验证:"
Height = 180
Index = 2
Left = 210
TabIndex = 2
Top = 570
Width = 450
End
End
Attribute VB_Name = "Form_Userpassword"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Trim(Text1(1).Text) <> Trim(Text1(2).Text) Then MsgBox "口令验证错误! ", 16: Exit Sub
Frm_NewUser.Text1(1).Tag = Text1(1).Text
Frm_NewUser.Text1(2).Tag = "T"
Unload Me
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -