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

📄 frmmain.frm

📁 VB人事管理系统
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{00028C01-0000-0000-0000-000000000046}#1.0#0"; "DBGRID32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form FrmMain 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "企业人事工资管理系统"
   ClientHeight    =   5850
   ClientLeft      =   150
   ClientTop       =   840
   ClientWidth     =   7920
   Icon            =   "Frmmain.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5850
   ScaleWidth      =   7920
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command5 
      Caption         =   "打印"
      Height          =   375
      Left            =   6120
      TabIndex        =   10
      Top             =   4920
      Width           =   1095
   End
   Begin VB.CommandButton Command4 
      Caption         =   "设置"
      Height          =   375
      Left            =   4800
      TabIndex        =   9
      Top             =   4920
      Width           =   1200
   End
   Begin VB.CommandButton Command3 
      Caption         =   "查询"
      Height          =   375
      Left            =   3480
      TabIndex        =   8
      Top             =   4920
      Width           =   1200
   End
   Begin VB.CommandButton Command2 
      Caption         =   "删除"
      Height          =   375
      Left            =   2160
      TabIndex        =   7
      Top             =   4920
      Width           =   1200
   End
   Begin VB.CommandButton Command1 
      Caption         =   "编辑"
      Height          =   375
      Left            =   840
      TabIndex        =   6
      Top             =   4920
      Width           =   1200
   End
   Begin MSComctlLib.Toolbar Toolbar2 
      Align           =   1  'Align Top
      Height          =   855
      Left            =   0
      TabIndex        =   5
      Top             =   0
      Width           =   7920
      _ExtentX        =   13970
      _ExtentY        =   1508
      ButtonWidth     =   1455
      ButtonHeight    =   1349
      Appearance      =   1
      ImageList       =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   5
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "员工信息"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "假条信息"
            ImageIndex      =   2
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "工资管理"
            ImageIndex      =   3
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "用户设置"
            ImageIndex      =   4
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "退出系统"
            ImageIndex      =   5
         EndProperty
      EndProperty
      Begin MSComctlLib.ImageList ImageList1 
         Left            =   4440
         Top             =   120
         _ExtentX        =   1005
         _ExtentY        =   1005
         BackColor       =   -2147483643
         ImageWidth      =   32
         ImageHeight     =   32
         MaskColor       =   12632256
         _Version        =   393216
         BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
            NumListImages   =   5
            BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
               Picture         =   "Frmmain.frx":08CA
               Key             =   ""
            EndProperty
            BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
               Picture         =   "Frmmain.frx":0D1C
               Key             =   ""
            EndProperty
            BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
               Picture         =   "Frmmain.frx":116E
               Key             =   ""
            EndProperty
            BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
               Picture         =   "Frmmain.frx":15C0
               Key             =   ""
            EndProperty
            BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
               Picture         =   "Frmmain.frx":1A12
               Key             =   ""
            EndProperty
         EndProperty
      End
   End
   Begin VB.Data DataB 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   ""
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   495
      Left            =   5760
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   ""
      Top             =   2280
      Visible         =   0   'False
      Width           =   1980
   End
   Begin VB.Data DataA 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   ""
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   495
      Left            =   5760
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   ""
      Top             =   1680
      Visible         =   0   'False
      Width           =   1860
   End
   Begin VB.ListBox LsDepart 
      Appearance      =   0  'Flat
      Height          =   1290
      Left            =   6840
      TabIndex        =   4
      Top             =   3000
      Visible         =   0   'False
      Width           =   855
   End
   Begin VB.ListBox LsDegree 
      Appearance      =   0  'Flat
      Height          =   1290
      Left            =   5880
      TabIndex        =   3
      Top             =   3000
      Visible         =   0   'False
      Width           =   855
   End
   Begin VB.ListBox Lssex 
      Appearance      =   0  'Flat
      Height          =   390
      ItemData        =   "Frmmain.frx":200B
      Left            =   5160
      List            =   "Frmmain.frx":2015
      TabIndex        =   2
      Top             =   3000
      Visible         =   0   'False
      Width           =   615
   End
   Begin MSDBGrid.DBGrid DBGA 
      Bindings        =   "Frmmain.frx":2021
      Height          =   3735
      Left            =   0
      OleObjectBlob   =   "Frmmain.frx":2035
      TabIndex        =   1
      Top             =   1080
      Width           =   7935
   End
   Begin VB.Label Lab 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   0
      TabIndex        =   0
      Top             =   5400
      Width           =   7935
   End
   Begin VB.Menu Mo 
      Caption         =   "系统"
      Index           =   0
      Begin VB.Menu Moption 
         Caption         =   "用户设置"
         Index           =   0
      End
      Begin VB.Menu Moption 
         Caption         =   "退出"
         Index           =   1
      End
   End
   Begin VB.Menu Mt 
      Caption         =   "数据管理"
      Begin VB.Menu mtab 
         Caption         =   "职工管理"
         Checked         =   -1  'True
         Index           =   0
      End
      Begin VB.Menu mtab 
         Caption         =   "假条管理"
         Index           =   1
      End
      Begin VB.Menu mtab 
         Caption         =   "工资信息管理"
         Index           =   2
      End
      Begin VB.Menu mtab 
         Caption         =   "有关条目设置"
         Index           =   3
      End
   End
   Begin VB.Menu Mh 
      Caption         =   "帮助"
      Begin VB.Menu Mhelp 
         Caption         =   "帮助"
      End
      Begin VB.Menu MAbout 
         Caption         =   "关于"
      End
   End
   Begin VB.Menu Mp 
      Caption         =   "Pop"
      Visible         =   0   'False
      Begin VB.Menu Mpop 
         Caption         =   "编辑记录"
         Index           =   1
      End
      Begin VB.Menu Mpop 
         Caption         =   "删除记录"
         Index           =   2
      End
      Begin VB.Menu Mpop 
         Caption         =   "搜寻记录"
         Index           =   3
      End
   End
End
Attribute VB_Name = "FrmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public cuTabCh As Boolean
Public cutable As String
Public cuAp As Integer '当前指针位置
Dim i As Integer
Public Pwin As String
Public Sub showemployee()  '在DBGA中显示职工信息

⌨️ 快捷键说明

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