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

📄 form1.frm

📁 民间标会的会员管理用的软件。是为一个顾客定做的!
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmMMXG 
   Caption         =   "修改密码"
   ClientHeight    =   2400
   ClientLeft      =   165
   ClientTop       =   555
   ClientWidth     =   4275
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   ScaleHeight     =   2400
   ScaleWidth      =   4275
   StartUpPosition =   2  '屏幕中心
   Begin VB.TextBox Text1 
      Height          =   315
      IMEMode         =   3  'DISABLE
      Left            =   1680
      PasswordChar    =   "*"
      TabIndex        =   0
      Top             =   240
      Width           =   1755
   End
   Begin VB.TextBox Text2 
      Height          =   315
      IMEMode         =   3  'DISABLE
      Left            =   1680
      PasswordChar    =   "*"
      TabIndex        =   1
      Top             =   780
      Width           =   1755
   End
   Begin VB.TextBox Text3 
      Height          =   315
      IMEMode         =   3  'DISABLE
      Left            =   1680
      PasswordChar    =   "*"
      TabIndex        =   2
      Top             =   1260
      Width           =   1755
   End
   Begin VB.CommandButton Command2 
      Cancel          =   -1  'True
      Caption         =   "取消"
      Height          =   375
      Left            =   2760
      TabIndex        =   4
      Top             =   1920
      Width           =   735
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Default         =   -1  'True
      Height          =   375
      Left            =   840
      TabIndex        =   3
      Top             =   1920
      Width           =   675
   End
   Begin VB.Shape Shape1 
      Height          =   1755
      Left            =   180
      Top             =   60
      Width           =   3915
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "原始密码:"
      Height          =   180
      Left            =   720
      TabIndex        =   7
      Top             =   360
      Width           =   900
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      Caption         =   "新密码:"
      Height          =   180
      Left            =   900
      TabIndex        =   6
      Top             =   900
      Width           =   720
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      Caption         =   "密码确认:"
      Height          =   180
      Left            =   720
      TabIndex        =   5
      Top             =   1380
      Width           =   900
   End
End
Attribute VB_Name = "frmMMXG"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Pwd As String

Private Sub Command1_Click()
If GetPWD(Trim(Text1.Text)) = Pwd Then
    If Text2.Text = Text3.Text Then
        SetPWD Trim(Text2.Text)
        Unload Me
    Else
        MsgBox "两次新密码不一致!"
    End If
Else
    MsgBox "原始密码错误"
End If


End Sub

Private Sub Command2_Click()
Unload Me

End Sub

Private Sub Form_Load()
Pwd = GetSetting(App.EXEName, "Settings", "Key", "")
End Sub

Private Sub Form_Initialize()
    InitCommonControls
End Sub



Private Sub SetPWD(ByVal Pwd As String)
    Dim Tmp As String
    
    Tmp = GetPWD(Pwd)
    SaveSetting App.EXEName, "Settings", "Key", Tmp
End Sub

⌨️ 快捷键说明

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