📄 frmanganaly.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 frmAngAnaly
Caption = "服务业务综合排名分析"
ClientHeight = 6015
ClientLeft = 60
ClientTop = 345
ClientWidth = 8415
Icon = "frmAngAnaly.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 = 0
Top = 5520
Width = 1095
End
Begin VB.Frame fra5
Caption = "排名内容"
Height = 660
Left = 5400
TabIndex = 9
Top = 120
Width = 2895
Begin VB.CheckBox chk2
Caption = "平均服务时间"
Height = 255
Left = 1440
TabIndex = 11
Top = 280
Width = 1380
End
Begin VB.CheckBox chk1
Caption = "总服务人数"
Height = 255
Left = 120
TabIndex = 10
Top = 280
Value = 1 'Checked
Width = 1215
End
End
Begin VB.Frame fra2
Caption = "统计时间"
Height = 660
Left = 120
TabIndex = 4
Top = 120
Width = 5175
Begin MSComCtl2.DTPicker dtpBegin
Height = 300
Left = 1080
TabIndex = 5
Top = 240
Width = 1455
_ExtentX = 2566
_ExtentY = 529
_Version = 393216
Format = 84541441
CurrentDate = 37576
End
Begin MSComCtl2.DTPicker dtpEnd
Height = 300
Left = 3600
TabIndex = 6
Top = 240
Width = 1455
_ExtentX = 2566
_ExtentY = 529
_Version = 393216
Format = 84541441
CurrentDate = 37576
End
Begin VB.Label lblInfo
Caption = "结束时间:"
Height = 165
Index = 1
Left = 2640
TabIndex = 8
Top = 315
Width = 975
End
Begin VB.Label lblInfo
Caption = "起始时间:"
Height = 165
Index = 0
Left = 120
TabIndex = 7
Top = 308
Width = 975
End
End
Begin VB.CommandButton cmdRefresh
Caption = "刷新(&R)"
Height = 375
Left = 6120
TabIndex = 3
Top = 5520
Width = 1095
End
Begin VB.Frame fra1
Caption = "员工服务排名曲线"
Height = 4335
Left = 120
TabIndex = 1
Top = 960
Width = 8175
Begin MSChart20Lib.MSChart mscEmpChart
Height = 4065
Left = 30
OleObjectBlob = "frmAngAnaly.frx":038A
TabIndex = 2
Top = 225
Width = 8115
End
End
End
Attribute VB_Name = "frmAngAnaly"
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 + 1455
dtpEnd.Width = i / 2 + 1455
lblInfo(1).Left = i / 2 + 2640
dtpEnd.Left = i / 2 + 3600
fra1.Width = i + 8175
mscEmpChart.Width = i + 8115
fra5.Left = i + 5400
cmdRefresh.Left = i + 6120
cmdQuit.Left = i + 7200
'修改高度位置
fra1.Height = j + 4335
mscEmpChart.Height = j + 4065
cmdRefresh.Top = j + 5520
cmdQuit.Top = j + 5520
End Sub
Private Sub Form_Terminate()
On Error Resume Next
Set frmAngAnaly = Nothing
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -