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

📄 ghzg.frm

📁 小型酒店管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form GHZG 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "更换会计主管"
   ClientHeight    =   3645
   ClientLeft      =   690
   ClientTop       =   1740
   ClientWidth     =   4050
   Icon            =   "GHZG.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3645
   ScaleWidth      =   4050
   StartUpPosition =   1  '所有者中心
   Begin VB.CommandButton Command1 
      Caption         =   "确认"
      Height          =   375
      Left            =   2880
      TabIndex        =   1
      Top             =   360
      Width           =   975
   End
   Begin MSComDlg.CommonDialog CDLTEST 
      Left            =   1920
      Top             =   5520
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   960
      Top             =   5400
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   17
      ImageHeight     =   20
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   4
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":030A
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":06BE
            Key             =   ""
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":0BFE
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":0F5E
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.TreeView TreeView1 
      Height          =   3375
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   2535
      _ExtentX        =   4471
      _ExtentY        =   5953
      _Version        =   393217
      LabelEdit       =   1
      LineStyle       =   1
      Style           =   5
      FullRowSelect   =   -1  'True
      HotTracking     =   -1  'True
      SingleSel       =   -1  'True
      ImageList       =   "ImageList1"
      BorderStyle     =   1
      Appearance      =   1
      OLEDragMode     =   1
      OLEDropMode     =   1
   End
   Begin MSComctlLib.ImageList ImageList2 
      Left            =   0
      Top             =   3120
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   20
      ImageHeight     =   20
      MaskColor       =   16777215
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   11
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":12FA
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":147E
            Key             =   ""
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":1846
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":1D16
            Key             =   ""
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":1E9A
            Key             =   ""
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":201E
            Key             =   ""
         EndProperty
         BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":21A2
            Key             =   ""
         EndProperty
         BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":2326
            Key             =   ""
         EndProperty
         BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":24AA
            Key             =   ""
         EndProperty
         BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":2942
            Key             =   ""
         EndProperty
         BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "GHZG.frx":2DDA
            Key             =   ""
         EndProperty
      EndProperty
   End
End
Attribute VB_Name = "GHZG"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim DATJDGL As Database    '住房公积管理数据库
Dim RECCZY As Recordset     '操作权限表
Public INTKJZGID As Integer
Dim TEMPNODE As Node

Private Sub Command1_Click()
    Unload Me
End Sub

Private Sub Form_Load()          ' 激活模块时初设
    SFADD = False
    SF = False
    Dim ncounter As Integer
    Dim STRKEY As String
    Dim STRTEXT As String
    Dim BFIELD As Field
    
    Set DATJDGL = OpenDatabase(App.Path & "\DATA\JDGL.MDB")
    Set RECCZY = DATJDGL.OpenRecordset("操作员", dbOpenDynaset)
   
    TreeView1.Nodes.Clear
    
    Do While Not RECCZY.EOF     '装载下设有单位的单位类别目录
       STRKEY = "A" + Trim(RECCZY("ID"))
       STRTEXT = IIf(IsNull(RECCZY("姓名")), "新人员", RECCZY("姓名"))
       If Not IsNull(STRTEXT) Then
          Set TEMPNODE = TreeView1.Nodes.Add(, , STRKEY, STRTEXT, 3, 4)
       End If
       RECCZY.MoveNext
    Loop
    If RECCZY.RecordCount > 0 Then
       RECCZY.MoveFirst
       STRKEY = "A" + Trim(RECCZY("ID"))
       Set TEMPNODE = TreeView1.Nodes(STRKEY)
    End If
    TEMPNODE.EnsureVisible
    TEMPNODE.Selected = True
End Sub

Private Sub Form_Unload(Cancel As Integer)
    INTKJZGID = CInt(Mid(TreeView1.SelectedItem.Key, 2))
    DATJDGL.Close
    
End Sub

Private Sub TreeView1_DblClick()
    Unload Me
    
End Sub

⌨️ 快捷键说明

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