⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmpwd.frm

📁 VB城市排水系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmpwd 
   Caption         =   "Form1"
   ClientHeight    =   1710
   ClientLeft      =   5250
   ClientTop       =   4770
   ClientWidth     =   4485
   LinkTopic       =   "Form1"
   ScaleHeight     =   1710
   ScaleWidth      =   4485
   Begin VB.TextBox Text2 
      Height          =   285
      IMEMode         =   3  'DISABLE
      Left            =   1935
      PasswordChar    =   "*"
      TabIndex        =   5
      Top             =   720
      Width           =   2085
   End
   Begin VB.TextBox Text1 
      Height          =   285
      IMEMode         =   3  'DISABLE
      Left            =   1935
      PasswordChar    =   "*"
      TabIndex        =   3
      Top             =   225
      Width           =   2085
   End
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   330
      Left            =   3150
      TabIndex        =   1
      Top             =   1170
      Width           =   870
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Height          =   330
      Left            =   2115
      TabIndex        =   0
      Top             =   1170
      Width           =   870
   End
   Begin VB.Label Label2 
      Caption         =   "确认新密码"
      Height          =   285
      Left            =   540
      TabIndex        =   4
      Top             =   765
      Width           =   1140
   End
   Begin VB.Label Label1 
      Caption         =   "新密码"
      Height          =   285
      Left            =   540
      TabIndex        =   2
      Top             =   270
      Width           =   1275
   End
End
Attribute VB_Name = "frmpwd"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
'修改密码
Dim sql As String
If Text1.Text <> Text2.Text Then
MsgBox "两次密码不相同,请重新输入!"
Text1.Text = ""
Text2.Text = ""
Else
sql = "Update 系统登录 set 密码 = '" & Text1.Text & " ' where 用户 ='" & frmchange.ListView1.SelectedItem.Text & "'"
dbpwd.Execute sql
Unload Me
End If
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -