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

📄 frmmain.frm

📁 花几周时间做的企业人事管理系统
💻 FRM
📖 第 1 页 / 共 2 页
字号:
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 frmMain 
   Caption         =   "企业人事管理系统"
   ClientHeight    =   8790
   ClientLeft      =   165
   ClientTop       =   450
   ClientWidth     =   12075
   Icon            =   "frmMain.frx":0000
   LinkTopic       =   "Form1"
   Picture         =   "frmMain.frx":164A
   ScaleHeight     =   8790
   ScaleWidth      =   12075
   StartUpPosition =   2  '屏幕中心
   Begin MSComDlg.CommonDialog CommonDialog1 
      Left            =   2160
      Top             =   1680
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
      FileName        =   " "
   End
   Begin MSComctlLib.StatusBar sbStatusBar 
      Align           =   2  'Align Bottom
      Height          =   390
      Left            =   0
      TabIndex        =   0
      Top             =   8400
      Width           =   12075
      _ExtentX        =   21299
      _ExtentY        =   688
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   1
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.ImageList imlToolbarIcons 
      Left            =   3120
      Top             =   1800
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   32
      ImageHeight     =   32
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   6
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":14349
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":159A3
            Key             =   ""
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":15F4A
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":16541
            Key             =   ""
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":16AD5
            Key             =   ""
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":1701C
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.TreeView TreeView1 
      Height          =   7065
      Left            =   120
      TabIndex        =   1
      Top             =   1320
      Width           =   2865
      _ExtentX        =   5054
      _ExtentY        =   12462
      _Version        =   393217
      Style           =   7
      ImageList       =   "imlToolbarIcons"
      Appearance      =   0
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   855
      Left            =   0
      TabIndex        =   9
      Top             =   0
      Width           =   12075
      _ExtentX        =   21299
      _ExtentY        =   1508
      ButtonWidth     =   1455
      ButtonHeight    =   1349
      Appearance      =   1
      ImageList       =   "imlToolbarIcons"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   4
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "信息管理"
            Key             =   "manage"
            Object.ToolTipText     =   "人员信息管理"
            ImageIndex      =   2
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "信息查询"
            Key             =   "query"
            Object.ToolTipText     =   "人员信息查询"
            ImageIndex      =   3
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "信息统计"
            Key             =   "count"
            Object.ToolTipText     =   "人员信息统计"
            ImageIndex      =   4
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "信息输出"
            Key             =   "output"
            Object.ToolTipText     =   "人员信息输出"
            ImageIndex      =   5
         EndProperty
      EndProperty
   End
   Begin VB.Label Label3 
      Caption         =   "列表"
      Height          =   255
      Left            =   120
      TabIndex        =   8
      Top             =   1080
      Width           =   495
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Height          =   255
      Left            =   3360
      TabIndex        =   7
      Top             =   1200
      Width           =   3135
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Height          =   300
      Index           =   3
      Left            =   11445
      TabIndex        =   6
      Top             =   570
      Width           =   300
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Height          =   300
      Index           =   2
      Left            =   10845
      TabIndex        =   5
      Top             =   570
      Width           =   300
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Height          =   300
      Index           =   1
      Left            =   10245
      TabIndex        =   4
      Top             =   570
      Width           =   300
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Height          =   300
      Index           =   0
      Left            =   9675
      TabIndex        =   3
      Top             =   570
      Width           =   300
   End
   Begin VB.Label lblCaption1 
      BackStyle       =   0  'Transparent
      Height          =   180
      Index           =   0
      Left            =   4005
      TabIndex        =   2
      Top             =   3765
      Width           =   1470
   End
   Begin VB.Image Image1 
      BorderStyle     =   1  'Fixed Single
      Height          =   1185
      Index           =   0
      Left            =   3960
      Picture         =   "frmMain.frx":18676
      Top             =   2640
      Visible         =   0   'False
      Width           =   1530
   End
   Begin VB.Menu m 
      Caption         =   "1000"
      Index           =   0
      Begin VB.Menu m1 
         Caption         =   "1001"
         Index           =   0
         Shortcut        =   ^A
      End
      Begin VB.Menu m1 
         Caption         =   "-"
         Index           =   1
      End
      Begin VB.Menu m1 
         Caption         =   "1002"
         Index           =   2
         Shortcut        =   ^B
      End
      Begin VB.Menu m1 
         Caption         =   "1003"
         Index           =   3
         Shortcut        =   ^C
      End
      Begin VB.Menu m1 
         Caption         =   "-"
         Index           =   4
      End
      Begin VB.Menu m1 
         Caption         =   "1004"
         Index           =   5
         Shortcut        =   ^D
      End
      Begin VB.Menu m1 
         Caption         =   "1005"
         Index           =   6
         Shortcut        =   ^E
      End
      Begin VB.Menu m1 
         Caption         =   "1006"
         Index           =   7
         Shortcut        =   ^F
      End
      Begin VB.Menu m1 
         Caption         =   "-"
         Index           =   8
      End
      Begin VB.Menu m1 
         Caption         =   "1007"
         Index           =   9
         Shortcut        =   ^G
      End
      Begin VB.Menu m1 
         Caption         =   "1008"
         Index           =   10
         Shortcut        =   ^H
      End
   End
   Begin VB.Menu m 
      Caption         =   "1009"
      Index           =   1
      Begin VB.Menu m2 
         Caption         =   "1010"
         Index           =   0
         Shortcut        =   ^I
      End
      Begin VB.Menu m2 
         Caption         =   "-"
         Index           =   1
      End
      Begin VB.Menu m2 
         Caption         =   "1011"
         Index           =   2
         Shortcut        =   ^J
      End
      Begin VB.Menu m2 
         Caption         =   "1012"
         Index           =   3
         Shortcut        =   ^K
      End
   End
   Begin VB.Menu m 
      Caption         =   "1013"
      Index           =   2
      Begin VB.Menu m3 
         Caption         =   "1014"
         Index           =   0
         Shortcut        =   ^L
      End
      Begin VB.Menu m3 
         Caption         =   "1015"
         Index           =   2
         Shortcut        =   ^M
      End
   End
   Begin VB.Menu m 
      Caption         =   "1016"
      Index           =   3
      Begin VB.Menu m4 
         Caption         =   "1017"
         Index           =   0
         Shortcut        =   ^N
      End
      Begin VB.Menu m4 
         Caption         =   "1018"
         Index           =   1
         Shortcut        =   ^O
      End
      Begin VB.Menu m4 
         Caption         =   "-"
         Index           =   2
      End
      Begin VB.Menu m4 
         Caption         =   "1019"
         Index           =   3
         Shortcut        =   ^P
      End
      Begin VB.Menu m4 
         Caption         =   "1020"
         Index           =   4
         Shortcut        =   ^Q
      End
   End
   Begin VB.Menu m 
      Caption         =   "1021"
      Index           =   4
      Begin VB.Menu m5 
         Caption         =   "1022"
         Index           =   0
         Shortcut        =   ^R
      End
      Begin VB.Menu m5 
         Caption         =   "1023"
         Index           =   1
         Shortcut        =   ^S
      End
      Begin VB.Menu m5 
         Caption         =   "1024"
         Index           =   2
         Shortcut        =   ^T
      End
      Begin VB.Menu m5 
         Caption         =   "1025"
         Index           =   3
         Shortcut        =   ^U
      End
   End
   Begin VB.Menu m 
      Caption         =   "1026"
      Index           =   5
      Begin VB.Menu m6 
         Caption         =   "1027"
         Index           =   0
         Shortcut        =   {F1}
      End
      Begin VB.Menu m6 
         Caption         =   "1028"
         Index           =   1
         Shortcut        =   {F12}
      End
   End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim i As Integer, A As Integer
Function blnPower(str As String) As Boolean
  Dim rs1 As New ADODB.Recordset
  rs1.Open "select * from 权限信息表 where 操作员 ='" & czy & "'", Cnn, adOpenKeyset, adLockOptimistic
   If rs1.RecordCount > 0 Then
      If rs1.Fields(str) = False Then
         blnPower = False
      Else
         blnPower = True
      End If
   End If
   rs1.Close
End Function
Private Sub Form_Load()
   Dim pnlX As Panel
  '添加面板,并将它们设置为目录。
  sbStatusBar.Panels(1).AutoSize = sbrContents
  sbStatusBar.Panels(1) = mytag
  Set pnlX = sbStatusBar.Panels.Add
  pnlX.AutoSize = sbrContents

⌨️ 快捷键说明

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