📄 form31.frm
字号:
VERSION 5.00
Begin VB.Form Form2
Caption = "改写密码"
ClientHeight = 1710
ClientLeft = 60
ClientTop = 345
ClientWidth = 3615
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1710
ScaleWidth = 3615
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "取 消"
Height = 375
Left = 2040
TabIndex = 5
Top = 1200
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "确 定"
Height = 375
Left = 360
TabIndex = 4
Top = 1200
Width = 1215
End
Begin VB.TextBox Text2
Height = 375
IMEMode = 3 'DISABLE
Left = 1200
PasswordChar = "*"
TabIndex = 3
Top = 600
Width = 2055
End
Begin VB.TextBox Text1
Height = 375
IMEMode = 3 'DISABLE
Left = 1200
PasswordChar = "*"
TabIndex = 2
Top = 120
Width = 2055
End
Begin VB.Label Label2
Caption = "确认密码:"
Height = 255
Left = 240
TabIndex = 1
Top = 720
Width = 975
End
Begin VB.Label Label1
Caption = "新密码:"
Height = 255
Left = 240
TabIndex = 0
Top = 240
Width = 735
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = Text2.Text Then
tt1 = 1 '此标记为改写旧密码
Call reg
Else
MsgBox "两次密码不相符,请再试一次"
Text1.Text = ""
Text2.Text = ""
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -