frmalluser.frm

来自「银行储蓄管理系统,一个功能强大的简单存款系统!」· FRM 代码 · 共 100 行

FRM
100
字号
VERSION 5.00
Begin VB.Form frmAllUser 
   BackColor       =   &H80000008&
   Caption         =   "Form1"
   ClientHeight    =   3585
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5640
   LinkTopic       =   "Form1"
   ScaleHeight     =   3585
   ScaleWidth      =   5640
   StartUpPosition =   3  '窗口缺省
   Begin VB.ListBox lst 
      Height          =   2580
      Left            =   240
      TabIndex        =   3
      Top             =   240
      Width           =   2295
   End
   Begin VB.TextBox txt 
      Height          =   270
      Index           =   0
      Left            =   3360
      Locked          =   -1  'True
      TabIndex        =   2
      Top             =   1800
      Width           =   2175
   End
   Begin VB.TextBox txt 
      Height          =   270
      Index           =   1
      Left            =   3360
      Locked          =   -1  'True
      TabIndex        =   1
      Top             =   2520
      Width           =   2175
   End
   Begin VB.CommandButton cmd 
      Cancel          =   -1  'True
      Caption         =   "关 闭"
      Height          =   345
      Left            =   4560
      TabIndex        =   0
      Top             =   3120
      Width           =   975
   End
   Begin VB.Label lblFAU 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "权限:"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   0
      Left            =   2760
      TabIndex        =   5
      Top             =   2640
      Width           =   540
   End
   Begin VB.Label lblFAU 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "姓名:"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   1
      Left            =   2760
      TabIndex        =   4
      Top             =   1920
      Width           =   540
   End
End
Attribute VB_Name = "frmAllUser"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim rst As Recordset


Private Sub cmd_Click()
    Unload Me
End Sub

Private Sub Form_Load()

End Sub

Private Sub lst_Click()
    Set rst = New Recordset
    Call LinkDB(landWay, SName, "weboy", SUName, SUPw)
    con.Open
    rst.Open "select * from users where name='" & lst.Text & "'", con, adOpenDynamic, adLockOptimistic
    txt(0).Text = rst!name
    txt(1).Text = rst!power
    rst.Close
    con.Close
End Sub


⌨️ 快捷键说明

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