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

📄 frmuser_info.frm

📁 宾馆管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{74848F95-A02A-4286-AF0C-A3C755E4A5B3}#1.0#0"; "actskn43.ocx"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form frmuser_info 
   Caption         =   "用户信息"
   ClientHeight    =   3630
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3630
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame Frame1 
      Height          =   3375
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   4455
      Begin VB.CommandButton Command1 
         Caption         =   "退出"
         Height          =   495
         Left            =   1320
         TabIndex        =   6
         Top             =   2640
         Width           =   1575
      End
      Begin ACTIVESKINLibCtl.Skin sknuser_info 
         Left            =   4080
         OleObjectBlob   =   "frmuser_info.frx":0000
         Top             =   1680
      End
      Begin VB.CommandButton cmdnext 
         Caption         =   "后一条"
         Height          =   375
         Left            =   2160
         TabIndex        =   5
         Top             =   2160
         Width           =   855
      End
      Begin VB.CommandButton cmdprevious 
         Caption         =   "前一条"
         Height          =   375
         Left            =   1320
         TabIndex        =   4
         Top             =   2160
         Width           =   855
      End
      Begin VB.CommandButton cmdfirst 
         Caption         =   "第一条"
         Height          =   375
         Left            =   360
         TabIndex        =   2
         Top             =   2160
         Width           =   975
      End
      Begin VB.CommandButton cmdlast 
         Caption         =   "最后一条"
         Height          =   375
         Left            =   3000
         TabIndex        =   1
         Top             =   2160
         Width           =   1095
      End
      Begin MSAdodcLib.Adodc Adodc1 
         Height          =   375
         Left            =   1440
         Top             =   1320
         Width           =   1455
         _ExtentX        =   2566
         _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=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=DBHotel;Data Source=."
         OLEDBString     =   "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=DBHotel;Data Source=."
         OLEDBFile       =   ""
         DataSourceName  =   ""
         OtherAttributes =   ""
         UserName        =   ""
         Password        =   ""
         RecordSource    =   "tbLogin"
         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 MSDataGridLib.DataGrid DataGrid1 
         Bindings        =   "frmuser_info.frx":0234
         Height          =   1935
         Left            =   480
         TabIndex        =   3
         Top             =   120
         Width           =   3375
         _ExtentX        =   5953
         _ExtentY        =   3413
         _Version        =   393216
         AllowUpdate     =   -1  'True
         HeadLines       =   1
         RowHeight       =   15
         FormatLocked    =   -1  'True
         AllowAddNew     =   -1  'True
         AllowDelete     =   -1  'True
         BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Caption         =   "用户信息"
         ColumnCount     =   2
         BeginProperty Column00 
            DataField       =   "cName"
            Caption         =   "用户名"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column01 
            DataField       =   "cPosition"
            Caption         =   "权限"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         SplitCount      =   1
         BeginProperty Split0 
            BeginProperty Column00 
            EndProperty
            BeginProperty Column01 
            EndProperty
         EndProperty
      End
   End
End
Attribute VB_Name = "frmuser_info"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdfirst_Click()
    Adodc1.Recordset.MoveFirst
    cmdprevious.Enabled = False
    cmdnext.Enabled = True
    cmdlast.Enabled = True
End Sub

Private Sub cmdlast_Click()
    Adodc1.Recordset.MoveLast
    cmdnext.Enabled = False
    cmdfirst.Enabled = True
    cmdprevious.Enabled = True
End Sub

Private Sub cmdnext_Click()
    Adodc1.Recordset.MoveNext
    If Adodc1.Recordset.EOF Then
       Adodc1.Recordset.MovePrevious
    End If
    Exit Sub
End Sub

Private Sub cmdprevious_Click()
    Adodc1.Recordset.MovePrevious
    If Adodc1.Recordset.BOF Then
        Adodc1.Recordset.MoveNext
    End If
    Exit Sub
End Sub

Private Sub Command1_Click()
Unload Me
End Sub

Private Sub Form_Load()
    Call changeskin(Me, sknuser_info, strSkin)
    Adodc1.Refresh
    Set Me.DataGrid1.DataSource = Adodc1
    Me.DataGrid1.Enabled = False
    Me.Adodc1.Visible = False
End Sub



⌨️ 快捷键说明

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