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

📄 frmempanaly.frm

📁 排队分诊管理系统源代码!该代码使用VB6开发环境
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{65E121D4-0C60-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCHRT20.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form frmEmpAnaly 
   Caption         =   "员工服务能力分析"
   ClientHeight    =   6015
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   8415
   Icon            =   "frmEmpAnaly.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MDIChild        =   -1  'True
   ScaleHeight     =   6015
   ScaleWidth      =   8415
   WindowState     =   2  'Maximized
   Begin VB.CommandButton cmdQuit 
      Caption         =   "关闭(&C)"
      Height          =   375
      Left            =   7200
      TabIndex        =   19
      Top             =   5520
      Width           =   1095
   End
   Begin VB.Frame fra5 
      Caption         =   "分析内容"
      Height          =   3135
      Left            =   6480
      TabIndex        =   23
      Top             =   2160
      Width           =   1815
      Begin VB.CheckBox chk6 
         Caption         =   "服务进步指数"
         Height          =   255
         Left            =   120
         TabIndex        =   13
         Top             =   2760
         Width           =   1455
      End
      Begin VB.CheckBox chk5 
         Caption         =   "当期服务比率"
         Height          =   255
         Left            =   120
         TabIndex        =   12
         Top             =   2280
         Width           =   1455
      End
      Begin VB.CheckBox chk4 
         Caption         =   "当期当班人数"
         Height          =   255
         Left            =   120
         TabIndex        =   11
         Top             =   1800
         Width           =   1455
      End
      Begin VB.CheckBox chk3 
         Caption         =   "当期排队人数"
         Height          =   255
         Left            =   120
         TabIndex        =   10
         Top             =   1320
         Width           =   1455
      End
      Begin VB.CheckBox chk2 
         Caption         =   "平均服务时间"
         Height          =   255
         Left            =   120
         TabIndex        =   9
         Top             =   840
         Value           =   1  'Checked
         Width           =   1455
      End
      Begin VB.CheckBox chk1 
         Caption         =   "总服务人数"
         Height          =   255
         Left            =   120
         TabIndex        =   8
         Top             =   360
         Width           =   1455
      End
   End
   Begin VB.Frame fra4 
      Caption         =   "时间坐标"
      Height          =   1335
      Left            =   6480
      TabIndex        =   22
      Top             =   720
      Width           =   1815
      Begin VB.OptionButton opt2 
         Caption         =   "日"
         Height          =   255
         Index           =   2
         Left            =   600
         TabIndex        =   7
         Top             =   960
         Value           =   -1  'True
         Width           =   735
      End
      Begin VB.OptionButton opt2 
         Caption         =   "月"
         Height          =   255
         Index           =   1
         Left            =   600
         TabIndex        =   6
         Top             =   600
         Width           =   735
      End
      Begin VB.OptionButton opt2 
         Caption         =   "年"
         Height          =   255
         Index           =   0
         Left            =   600
         TabIndex        =   5
         Top             =   240
         Width           =   735
      End
   End
   Begin VB.Frame fra3 
      Height          =   460
      Left            =   6480
      TabIndex        =   21
      Top             =   120
      Width           =   1815
      Begin VB.OptionButton opt1 
         Caption         =   "姓名"
         Height          =   180
         Index           =   1
         Left            =   960
         TabIndex        =   2
         Top             =   180
         Value           =   -1  'True
         Width           =   735
      End
      Begin VB.OptionButton opt1 
         Caption         =   "工号"
         Height          =   180
         Index           =   0
         Left            =   120
         TabIndex        =   1
         Top             =   180
         Width           =   735
      End
   End
   Begin VB.Frame fra2 
      Caption         =   "统计时间"
      Height          =   660
      Left            =   120
      TabIndex        =   16
      Top             =   720
      Width           =   6135
      Begin MSComCtl2.DTPicker dtpBegin 
         Height          =   300
         Left            =   1080
         TabIndex        =   3
         Top             =   240
         Width           =   1575
         _ExtentX        =   2778
         _ExtentY        =   529
         _Version        =   393216
         Format          =   84541441
         CurrentDate     =   37576
      End
      Begin MSComCtl2.DTPicker dtpEnd 
         Height          =   300
         Left            =   4200
         TabIndex        =   4
         Top             =   240
         Width           =   1575
         _ExtentX        =   2778
         _ExtentY        =   529
         _Version        =   393216
         Format          =   84541441
         CurrentDate     =   37576
      End
      Begin VB.Label lblInfo 
         Caption         =   "结束时间:"
         Height          =   165
         Index           =   1
         Left            =   3240
         TabIndex        =   18
         Top             =   308
         Width           =   975
      End
      Begin VB.Label lblInfo 
         Caption         =   "起始时间:"
         Height          =   165
         Index           =   0
         Left            =   120
         TabIndex        =   17
         Top             =   308
         Width           =   975
      End
   End
   Begin VB.ComboBox cboEmployee 
      Height          =   300
      ItemData        =   "frmEmpAnaly.frx":038A
      Left            =   1320
      List            =   "frmEmpAnaly.frx":038C
      Style           =   2  'Dropdown List
      TabIndex        =   0
      Top             =   240
      Width           =   4935
   End
   Begin VB.CommandButton cmdRefresh 
      Caption         =   "刷新(&R)"
      Height          =   375
      Left            =   6120
      TabIndex        =   14
      Top             =   5520
      Width           =   1095
   End
   Begin VB.Frame fra1 
      Caption         =   "员工服务能力曲线"
      Height          =   3735
      Left            =   120
      TabIndex        =   24
      Top             =   1560
      Width           =   6135
      Begin MSChart20Lib.MSChart mscEmpChart 
         Height          =   3470
         Left            =   30
         OleObjectBlob   =   "frmEmpAnaly.frx":038E
         TabIndex        =   20
         Top             =   220
         Width           =   6080
      End
   End
   Begin MSComctlLib.StatusBar stbInfo 
      Height          =   300
      Index           =   0
      Left            =   120
      TabIndex        =   15
      Top             =   240
      Width           =   1095
      _ExtentX        =   1931
      _ExtentY        =   529
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   1
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Bevel           =   2
            Object.Width           =   3316
            MinWidth        =   3316
            Text            =   "服务员工:"
            TextSave        =   "服务员工:"
         EndProperty
      EndProperty
   End
End
Attribute VB_Name = "frmEmpAnaly"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Dim m_tagErrInfo    As TYPE_ERRORINFO

Private Sub cmdQuit_Click()
    On Error Resume Next
    Unload Me
End Sub

Private Sub Form_Resize()
    On Error Resume Next
    Dim i As Integer, j As Integer

    If Me.WindowState = 1 Then Exit Sub
    
    If Me.Width < 8535 Then Me.Width = 8535
    If Me.Height < 6420 Then Me.Height = 6420
    
    i = Me.Width - 8535
    j = Me.Height - 6420

    '修改宽度
    cboEmployee.Width = i + 4935
    fra3.Left = i + 6480
    
    fra2.Width = i + 6135
    dtpBegin.Width = i / 2 + 1575
    dtpEnd.Width = i / 2 + 1575
    lblInfo(1).Left = i / 2 + 3240
    dtpEnd.Left = i / 2 + 4200
    
    fra1.Width = i + 6135
    mscEmpChart.Width = i + 6080
    
    fra4.Left = i + 6480
    fra5.Left = i + 6480
    
    cmdRefresh.Left = i + 6120
    cmdQuit.Left = i + 7200
    
    '修改高度位置
    fra1.Height = j + 3735
    mscEmpChart.Height = j + 3470
    
    cmdRefresh.Top = j + 5520
    cmdQuit.Top = j + 5520
End Sub

Private Sub Form_Terminate()
    On Error Resume Next
    Set frmEmpAnaly = Nothing
End Sub

⌨️ 快捷键说明

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