7,763
社区成员
发帖
与我相关
我的任务
分享
Private Sub Command2_Click()
If Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Then
MsgBox "各字段必须填写!", vbInformation + vbSystemModal, "保存出错"
exit sub
End If
If Text1.Text <> oldpw Then
MsgBox "你输入的原始密码不正确!", vbInformation + vbSystemModal, "保存出错"
Text1.Text = ""
exit sub
End If
If Text2.Text <> Text3.Text Then
MsgBox "两次输入的密码不一致!", vbInformation + vbSystemModal, "保存出错"
Text2.Text = ""
Text3.Text = ""
exit sub
End If
End Sub