?? frmcmpanaly.frm
字號(hào):
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 = "員工服務(wù)對(duì)比分析"
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 = "關(guān)閉(&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 = "員工服務(wù)對(duì)比曲線"
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 = "統(tǒng)計(jì)時(shí)間"
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 = "起始時(shí)間:"
Height = 165
Index = 0
Left = 120
TabIndex = 12
Top = 308
Width = 975
End
Begin VB.Label lblInfo
Caption = "結(jié)束時(shí)間:"
Height = 165
Index = 1
Left = 2880
TabIndex = 13
Top = 315
Width = 975
End
End
Begin VB.Frame fra4
Caption = "時(shí)間坐標(biāo)"
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 = "分析內(nèi)容"
Height = 1215
Left = 6480
TabIndex = 16
Top = 960
Width = 1815
Begin VB.CheckBox chk1
Caption = "總服務(wù)人數(shù)"
Height = 255
Left = 120
TabIndex = 5
Top = 360
Value = 1 'Checked
Width = 1455
End
Begin VB.CheckBox chk2
Caption = "平均服務(wù)時(shí)間"
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
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -