📄 修改密码.frm
字号:
VERSION 5.00
Begin VB.Form Form6
BorderStyle = 0 'None
Caption = "Form6"
ClientHeight = 5505
ClientLeft = 0
ClientTop = 0
ClientWidth = 7005
LinkTopic = "Form6"
Picture = "修改密码.frx":0000
ScaleHeight = 5505
ScaleWidth = 7005
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "返回"
BeginProperty Font
Name = "隶书"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 4200
Picture = "修改密码.frx":5927
Style = 1 'Graphical
TabIndex = 5
Top = 4440
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "确定"
BeginProperty Font
Name = "隶书"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1680
Picture = "修改密码.frx":B24E
Style = 1 'Graphical
TabIndex = 4
Top = 4440
Width = 1215
End
Begin VB.TextBox Text2
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 500
IMEMode = 3 'DISABLE
Left = 1080
MaxLength = 6
PasswordChar = "*"
TabIndex = 3
Top = 3400
Width = 5000
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 500
IMEMode = 3 'DISABLE
Left = 1080
MaxLength = 6
PasswordChar = "*"
TabIndex = 2
Top = 1400
Width = 5000
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "请再次输入您的新密码"
BeginProperty Font
Name = "隶书"
Size = 21.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 435
Left = 1080
TabIndex = 1
Top = 2595
Width = 4500
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "请输入您的新密码"
BeginProperty Font
Name = "隶书"
Size = 21.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 435
Left = 1080
TabIndex = 0
Top = 600
Width = 3600
End
End
Attribute VB_Name = "Form6"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Call changepwd
Call InsertDatabase
End Sub
Private Sub Command2_Click()
Unload Form6
Form4.Show
End Sub
Private Sub Form_Load()
'用户选择英语时
If i = 1 Then
Label1.FontSize = 16
Label2.FontSize = 16
Label1.Caption = "Please Input You New Password"
Label2.Caption = "Please Do It Again"
Command1.Caption = "OK"
Command2.Caption = "Back"
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -