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

📄 管理员个人信息.frm

📁 这是一个基于VB开发的程序,实现的是对仪器的查找和定期检修,并对检修的设备进行相关处理
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Form10 
   BorderStyle     =   0  'None
   Caption         =   "管理员信息修改"
   ClientHeight    =   3510
   ClientLeft      =   5550
   ClientTop       =   5115
   ClientWidth     =   5130
   LinkTopic       =   "Form10"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3510
   ScaleWidth      =   5130
   ShowInTaskbar   =   0   'False
   Begin VB.TextBox Text5 
      Height          =   375
      IMEMode         =   3  'DISABLE
      Left            =   1680
      PasswordChar    =   "*"
      TabIndex        =   9
      Top             =   2040
      Width           =   2055
   End
   Begin VB.CommandButton Command2 
      BackColor       =   &H80000018&
      Caption         =   "取消"
      Height          =   375
      Left            =   3000
      Style           =   1  'Graphical
      TabIndex        =   7
      Top             =   2760
      Width           =   1095
   End
   Begin VB.TextBox Text4 
      DataField       =   "password"
      DataSource      =   "Adodc1"
      Height          =   270
      Left            =   6960
      TabIndex        =   6
      Text            =   "Text4"
      Top             =   1560
      Visible         =   0   'False
      Width           =   180
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H80000018&
      Caption         =   "确认"
      Height          =   375
      Left            =   1440
      Style           =   1  'Graphical
      TabIndex        =   5
      Top             =   2760
      Width           =   1215
   End
   Begin VB.TextBox Text3 
      Height          =   375
      IMEMode         =   3  'DISABLE
      Left            =   1680
      PasswordChar    =   "*"
      TabIndex        =   4
      Top             =   1320
      Width           =   2055
   End
   Begin VB.TextBox Text2 
      Height          =   375
      Left            =   1680
      TabIndex        =   3
      Top             =   720
      Width           =   2055
   End
   Begin VB.TextBox Text1 
      DataField       =   "usernum"
      DataSource      =   "Adodc1"
      Height          =   270
      Left            =   6480
      TabIndex        =   2
      Text            =   "Text1"
      Top             =   600
      Visible         =   0   'False
      Width           =   495
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   375
      Left            =   1320
      Top             =   3840
      Visible         =   0   'False
      Width           =   1695
      _ExtentX        =   2990
      _ExtentY        =   661
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   2
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   1
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\wangyufei\VB编程\050305\管理员.mdb;Persist Security Info=False"
      OLEDBString     =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\wangyufei\VB编程\050305\管理员.mdb;Persist Security Info=False"
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "表1"
      Caption         =   "Adodc1"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      _Version        =   393216
   End
   Begin VB.Label Label4 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "管理员信息修改"
      BeginProperty Font 
         Name            =   "楷体_GB2312"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H80000001&
      Height          =   210
      Left            =   1800
      TabIndex        =   10
      Top             =   240
      Width           =   1575
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "密码确认:"
      ForeColor       =   &H8000000D&
      Height          =   180
      Left            =   600
      TabIndex        =   8
      Top             =   2160
      Width           =   810
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "新密码:"
      ForeColor       =   &H8000000D&
      Height          =   180
      Left            =   720
      TabIndex        =   1
      Top             =   1440
      Width           =   630
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "管理员名称:"
      ForeColor       =   &H8000000D&
      Height          =   180
      Left            =   480
      TabIndex        =   0
      Top             =   840
      Width           =   990
   End
   Begin VB.Image Image1 
      Height          =   4950
      Left            =   0
      Picture         =   "管理员个人信息.frx":0000
      Top             =   0
      Width           =   5130
   End
End
Attribute VB_Name = "Form10"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
main.Enabled = False
If Text3.Text <> Text5.Text Then
MsgBox "新密码不一致!", vbCritical, "失败"
Text3.Text = ""
Text5.Text = ""
Else
Adodc1.Recordset.MoveFirst
Text1.Text = Text2.Text
Text4.Text = Text3.Text
Adodc1.Recordset.MoveFirst
Text1.Text = Text2.Text
Text4.Text = Text3.Text
MsgBox "修改成功!"
'Adodc1.Recordset.UpdateBatch
'Adodc1.Recordset.Update
'Adodc1.Recordset.Update
'Adodc1.Refresh
Text2.Text = ""
Text3.Text = ""
End If
End Sub

Private Sub Command2_Click()
main.Enabled = True
Unload Form10
End Sub

Private Sub Form_Load()
Text2.Text = ""
Text3.Text = ""
Text5.Text = ""
main.Enabled = False
End Sub

⌨️ 快捷键说明

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