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

📄 pass.frm

📁 网吧库存管理系统 主要对商品网费等费用和数量管理
💻 FRM
字号:
VERSION 5.00
Object = "{D07CD9D2-ECE9-493F-86F2-186659945889}#1.0#0"; "Xpbutton.ocx"
Object = "{625E61B9-D59C-4612-89FC-D10614DC5873}#1.0#0"; "CoolBoySkin1.2(修正版).ocx"
Begin VB.Form pass 
   Appearance      =   0  'Flat
   BackColor       =   &H00FFFFFF&
   BorderStyle     =   0  'None
   Caption         =   "神龙科技(网吧库管)"
   ClientHeight    =   3000
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   3450
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   ScaleHeight     =   3000
   ScaleWidth      =   3450
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin 工程1.xpcmdbutton xpcmdbutton2 
      Height          =   420
      Left            =   1815
      TabIndex        =   7
      Top             =   2160
      Width           =   1125
      _ExtentX        =   1984
      _ExtentY        =   741
      Caption         =   "放弃"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin 工程1.xpcmdbutton xpcmdbutton1 
      Height          =   405
      Left            =   585
      TabIndex        =   6
      Top             =   2190
      Width           =   1110
      _ExtentX        =   1958
      _ExtentY        =   714
      Caption         =   "修改"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin VB.TextBox Text3 
      Height          =   255
      IMEMode         =   3  'DISABLE
      Left            =   1305
      PasswordChar    =   "*"
      TabIndex        =   5
      Top             =   1785
      Width           =   1725
   End
   Begin VB.TextBox Text2 
      Height          =   270
      IMEMode         =   3  'DISABLE
      Left            =   1305
      PasswordChar    =   "*"
      TabIndex        =   3
      Top             =   1455
      Width           =   1710
   End
   Begin VB.TextBox Text1 
      Height          =   285
      IMEMode         =   3  'DISABLE
      Left            =   1305
      PasswordChar    =   "*"
      TabIndex        =   0
      Top             =   1110
      Width           =   1695
   End
   Begin CoolBoySkinForVB6.CoolBoySkin CoolBoySkin1 
      Height          =   1845
      Left            =   60
      TabIndex        =   10
      Top             =   675
      Width           =   3405
      _ExtentX        =   6006
      _ExtentY        =   3254
      Caption         =   "神龙科技(网吧库管)"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Arial"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      MenuBackColor   =   16777215
   End
   Begin VB.Label Label5 
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   240
      Left            =   1515
      TabIndex        =   9
      Top             =   750
      Width           =   1425
   End
   Begin VB.Label Label4 
      BackStyle       =   0  'Transparent
      Caption         =   "用户名:"
      Height          =   225
      Left            =   450
      TabIndex        =   8
      Top             =   795
      Width           =   915
   End
   Begin VB.Label Label3 
      BackColor       =   &H8000000E&
      BackStyle       =   0  'Transparent
      Caption         =   "再输一遍:"
      Height          =   285
      Left            =   330
      TabIndex        =   4
      Top             =   1830
      Width           =   975
   End
   Begin VB.Label Label2 
      BackColor       =   &H8000000E&
      BackStyle       =   0  'Transparent
      Caption         =   "新密码:"
      Height          =   240
      Left            =   495
      TabIndex        =   2
      Top             =   1500
      Width           =   915
   End
   Begin VB.Label Label1 
      BackColor       =   &H8000000E&
      BackStyle       =   0  'Transparent
      Caption         =   "旧密码:"
      Height          =   240
      Left            =   405
      TabIndex        =   1
      Top             =   1170
      Width           =   900
   End
   Begin VB.Shape Shape1 
      BackColor       =   &H000000FF&
      BackStyle       =   1  'Opaque
      BorderColor     =   &H8000000C&
      BorderWidth     =   3
      Height          =   2085
      Left            =   255
      Top             =   630
      Width           =   2955
   End
End
Attribute VB_Name = "pass"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Form_Load()
tim = 0
If username = "" Then loginfrm.Show
Me.Left = Screen.Width - Me.Width
Me.Top = 400
Call topme(Me)
Label5.Caption = username
End Sub

Private Sub Form_Unload(Cancel As Integer)
tim = 0
End Sub

Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Text2.SetFocus

End Sub

Private Sub Text2_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Text2.SetFocus

End Sub

Private Sub Text3_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then xpcmdbutton1_Click

End Sub

Private Sub xpcmdbutton1_Click()
If Trim(Text1) <> password Then Exit Sub
If Trim(Text3) = "" Then Exit Sub
If Trim(Text2.Text) <> Trim(Text3.Text) Then Text3 = "": Text3.SetFocus: Exit Sub
If rs.State Then rs.Close
rs.Open "update [user] set userpassword='" & Trim(Text3) & "' where userid='" & userid & "'", cn, 3, 3
password = Trim(Text3)
Unload Me
loginfrm.Show
End Sub

Private Sub xpcmdbutton2_Click()
Unload Me
End Sub

⌨️ 快捷键说明

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