📄 frmmmxiugai.frm
字号:
VERSION 5.00
Begin VB.Form Frmmmxiugai
BackColor = &H0080FF80&
Caption = "更改密码"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 345
ClientWidth = 5145
LinkTopic = "Form3"
ScaleHeight = 3090
ScaleWidth = 5145
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "返回"
Height = 375
Left = 2880
TabIndex = 8
Top = 2520
Width = 975
End
Begin VB.CommandButton Command1
BackColor = &H00FF0000&
Caption = "确认"
Height = 375
Left = 1440
MaskColor = &H00FF0000&
TabIndex = 7
Top = 2520
Width = 855
End
Begin VB.TextBox Text3
Height = 390
Left = 2160
TabIndex = 6
Top = 1320
Width = 1815
End
Begin VB.TextBox Text2
Height = 375
Left = 2160
TabIndex = 5
Top = 1920
Width = 1815
End
Begin VB.TextBox Text1
Height = 390
Left = 2160
TabIndex = 4
Top = 720
Width = 1815
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "确认新密码:"
Height = 495
Left = 960
TabIndex = 3
Top = 2040
Width = 1215
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "新密码:"
Height = 495
Left = 1320
TabIndex = 2
Top = 1440
Width = 1215
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "旧密码:"
Height = 495
Left = 1320
TabIndex = 1
Top = 840
Width = 1215
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "密码修改"
BeginProperty Font
Name = "楷体_GB2312"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 735
Left = 1680
TabIndex = 0
Top = 120
Width = 1575
End
End
Attribute VB_Name = "Frmmmxiugai"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
'首先要判断录入数据的有效性
'器材代码不能为空值
If Trim(Text1.Text) = "" Then
MsgBox "用户名不能为空,请重新设置!", vbInformation, "提示"
Text1.SetFocus '焦点返回
Exit Sub '退出子程序
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -