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

📄 frmcmpanaly.frm

📁 排队分诊管理系统源代码!该代码使用VB6开发环境
💻 FRM
字号:
VERSION 5.00
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 frmCmpAnaly 
   Caption         =   "员工服务对比分析"
   ClientHeight    =   6015
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   8415
   Icon            =   "frmCmpAnaly.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        =   9
      Top             =   5520
      Width           =   1095
   End
   Begin VB.Frame fra3 
      Caption         =   "比较员工"
      Height          =   3015
      Left            =   6480
      TabIndex        =   17
      Top             =   2280
      Width           =   1815
      Begin VB.ListBox lisEmployee 
         Height          =   2580
         Left            =   120
         TabIndex        =   7
         Top             =   240
         Width           =   1575
      End
   End
   Begin VB.Frame fra1 
      Caption         =   "员工服务对比曲线"
      Height          =   4335
      Left            =   120
      TabIndex        =   15
      Top             =   960
      Width           =   6135
      Begin MSChart20Lib.MSChart mscEmpChart 
         Height          =   4065
         Left            =   30
         OleObjectBlob   =   "frmCmpAnaly.frx":0CCA
         TabIndex        =   10
         Top             =   225
         Width           =   6075
      End
   End
   Begin VB.CommandButton cmdRefresh 
      Caption         =   "刷新(&R)"
      Height          =   375
      Left            =   6120
      TabIndex        =   8
      Top             =   5520
      Width           =   1095
   End
   Begin VB.Frame fra2 
      Caption         =   "统计时间"
      Height          =   660
      Left            =   120
      TabIndex        =   11
      Top             =   120
      Width           =   5535
      Begin MSComCtl2.DTPicker dtpBegin 
         Height          =   300
         Left            =   1080
         TabIndex        =   0
         Top             =   240
         Width           =   1575
         _ExtentX        =   2778
         _ExtentY        =   529
         _Version        =   393216
         Format          =   84606977
         CurrentDate     =   37576
      End
      Begin MSComCtl2.DTPicker dtpEnd 
         Height          =   300
         Left            =   3840
         TabIndex        =   1
         Top             =   240
         Width           =   1575
         _ExtentX        =   2778
         _ExtentY        =   529
         _Version        =   393216
         Format          =   84606977
         CurrentDate     =   37576
      End
      Begin VB.Label lblInfo 
         Caption         =   "起始时间:"
         Height          =   165
         Index           =   0
         Left            =   120
         TabIndex        =   12
         Top             =   308
         Width           =   975
      End
      Begin VB.Label lblInfo 
         Caption         =   "结束时间:"
         Height          =   165
         Index           =   1
         Left            =   2880
         TabIndex        =   13
         Top             =   315
         Width           =   975
      End
   End
   Begin VB.Frame fra4 
      Caption         =   "时间坐标"
      Height          =   660
      Left            =   5880
      TabIndex        =   14
      Top             =   120
      Width           =   2415
      Begin VB.OptionButton opt2 
         Caption         =   "年"
         Height          =   255
         Index           =   0
         Left            =   120
         TabIndex        =   2
         Top             =   260
         Width           =   495
      End
      Begin VB.OptionButton opt2 
         Caption         =   "月"
         Height          =   255
         Index           =   1
         Left            =   960
         TabIndex        =   3
         Top             =   260
         Width           =   495
      End
      Begin VB.OptionButton opt2 
         Caption         =   "日"
         Height          =   255
         Index           =   2
         Left            =   1680
         TabIndex        =   4
         Top             =   260
         Value           =   -1  'True
         Width           =   495
      End
   End
   Begin VB.Frame fra5 
      Caption         =   "分析内容"
      Height          =   1215
      Left            =   6480
      TabIndex        =   16
      Top             =   960
      Width           =   1815
      Begin VB.CheckBox chk1 
         Caption         =   "总服务人数"
         Height          =   255
         Left            =   120
         TabIndex        =   5
         Top             =   360
         Value           =   1  'Checked
         Width           =   1455
      End
      Begin VB.CheckBox chk2 
         Caption         =   "平均服务时间"
         Height          =   255
         Left            =   120
         TabIndex        =   6
         Top             =   720
         Width           =   1455
      End
   End
End
Attribute VB_Name = "frmCmpAnaly"
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

    '修改宽度
    fra2.Width = i + 5535
    dtpBegin.Width = i / 2 + 1575
    dtpEnd.Width = i / 2 + 1575
    lblInfo(1).Left = i / 2 + 2880
    dtpEnd.Left = i / 2 + 3840
    
    fra1.Width = i + 6135
    mscEmpChart.Width = i + 6080
    
    fra4.Left = i + 5880
    fra5.Left = i + 6480
    fra3.Left = i + 6480
    
    cmdRefresh.Left = i + 6120
    cmdQuit.Left = i + 7200
    
    '修改高度位置
    fra1.Height = j + 4335
    mscEmpChart.Height = j + 4065
    
    fra3.Height = j + 3015
    lisEmployee.Height = j + 2580
    
    cmdRefresh.Top = j + 5520
    cmdQuit.Top = j + 5520
End Sub

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

⌨️ 快捷键说明

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