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

📄 edit.frm

📁 一个商业软件的源码
💻 FRM
字号:
VERSION 5.00
Object = "{69958DD9-23E5-11D6-ACD7-0050BAC05F28}#12.0#0"; "CurtButton.ocx"
Begin VB.Form edit 
   BackColor       =   &H00C0C0FF&
   BorderStyle     =   1  'Fixed Single
   Caption         =   "更改密码"
   ClientHeight    =   2115
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   3285
   Icon            =   "edit.frx":0000
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2115
   ScaleWidth      =   3285
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame Frame2 
      BackColor       =   &H00FFC0C0&
      Height          =   615
      Left            =   0
      TabIndex        =   7
      Top             =   1440
      Width           =   3255
      Begin CurtButton多风格按钮控件.CurtButton CurtButton1 
         Height          =   375
         Left            =   2040
         TabIndex        =   8
         Top             =   120
         Width           =   1095
         _ExtentX        =   1931
         _ExtentY        =   661
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Picture         =   "edit.frx":27A2
         Caption         =   "确定(&OK)"
      End
   End
   Begin VB.Frame Frame1 
      BackColor       =   &H00FFC0C0&
      Height          =   1335
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   3255
      Begin VB.TextBox Text1 
         BackColor       =   &H0000FFFF&
         ForeColor       =   &H00000000&
         Height          =   270
         Left            =   1440
         TabIndex        =   3
         Top             =   240
         Width           =   1455
      End
      Begin VB.TextBox Text2 
         BackColor       =   &H0000FFFF&
         ForeColor       =   &H00000000&
         Height          =   270
         IMEMode         =   3  'DISABLE
         Left            =   1440
         PasswordChar    =   "*"
         TabIndex        =   2
         Top             =   600
         Width           =   1455
      End
      Begin VB.TextBox Text3 
         BackColor       =   &H0000FFFF&
         ForeColor       =   &H00000000&
         Height          =   270
         IMEMode         =   3  'DISABLE
         Left            =   1440
         PasswordChar    =   "*"
         TabIndex        =   1
         Top             =   960
         Width           =   1455
      End
      Begin VB.Label Label1 
         BackStyle       =   0  'Transparent
         Caption         =   "用户名:"
         Height          =   255
         Left            =   360
         TabIndex        =   6
         Top             =   240
         Width           =   855
      End
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         Caption         =   "新密码:"
         Height          =   255
         Left            =   360
         TabIndex        =   5
         Top             =   600
         Width           =   735
      End
      Begin VB.Label Label3 
         BackStyle       =   0  'Transparent
         Caption         =   "确认密码:"
         Height          =   255
         Left            =   240
         TabIndex        =   4
         Top             =   960
         Width           =   975
      End
   End
End
Attribute VB_Name = "edit"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()

End Sub

Private Sub CurtButton1_Click()
If Text3.Text = Text2.Text Then
'Form2.Text1.Text = Text3.Text
Form2.Adodc1.Recordset.Update 1, Text3.Text
Form2.Adodc1.Recordset.Update 0, Text1.Text
Form2.Show
Unload Me

'First.Show
Else
MsgBox "你两次输入的密码不同,请重新输入!"
End If
End Sub

Private Sub Form_Load()
Text1.Text = Form2.Text2.Text
End Sub

Private Sub Form_Unload(Cancel As Integer)
Form2.Text2.Text = ""
Form2.Text3.Text = ""
Form2.Check1.Value = False
Form2.Show
End Sub

⌨️ 快捷键说明

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