📄 企业管理.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frm_main
BorderStyle = 1 'Fixed Single
Caption = "企业生产管理系统"
ClientHeight = 5910
ClientLeft = 45
ClientTop = 435
ClientWidth = 9000
BeginProperty Font
Name = "华文中宋"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Icon = "企业管理.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
MouseIcon = "企业管理.frx":1272
Picture = "企业管理.frx":157C
ScaleHeight = 5910
ScaleWidth = 9000
StartUpPosition = 2 '屏幕中心
Begin VB.Timer Timer1
Interval = 500
Left = 3630
Top = 4200
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 255
Left = 0
TabIndex = 9
Top = 5655
Width = 9000
_ExtentX = 15875
_ExtentY = 450
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 3
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 3704
MinWidth = 3704
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 5468
MinWidth = 5468
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 7056
MinWidth = 7056
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label10
BackStyle = 0 'Transparent
Caption = "label10"
BeginProperty Font
Name = "华文行楷"
Size = 15
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 390
Left = 5340
MouseIcon = "企业管理.frx":813F
MousePointer = 99 'Custom
TabIndex = 8
Top = 3705
Width = 2700
End
Begin VB.Label Label9
BackStyle = 0 'Transparent
Caption = "label9"
BeginProperty Font
Name = "华文行楷"
Size = 15
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 390
Left = 5340
MouseIcon = "企业管理.frx":8A09
MousePointer = 99 'Custom
TabIndex = 7
Top = 3105
Width = 2700
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "label8"
BeginProperty Font
Name = "华文行楷"
Size = 15
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 390
Left = 5340
MouseIcon = "企业管理.frx":92D3
MousePointer = 99 'Custom
TabIndex = 6
Top = 2490
Width = 2700
End
Begin VB.Label Label7
BackStyle = 0 'Transparent
Caption = "label7"
BeginProperty Font
Name = "华文行楷"
Size = 15
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 390
Left = 5340
MouseIcon = "企业管理.frx":9B9D
MousePointer = 99 'Custom
TabIndex = 5
Top = 1890
Width = 3120
End
Begin VB.Label Labexit
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "LabExit"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00400040&
Height = 525
Left = 360
MouseIcon = "企业管理.frx":A467
MousePointer = 99 'Custom
TabIndex = 4
Top = 4770
Width = 2205
End
Begin VB.Label Labhb
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Labhb"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00400040&
Height = 525
Left = 375
MouseIcon = "企业管理.frx":AD31
MousePointer = 99 'Custom
TabIndex = 3
Top = 2272
Width = 2205
End
Begin VB.Label Labtj
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Labtj"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00400040&
Height = 525
Left = 375
MouseIcon = "企业管理.frx":B5FB
MousePointer = 99 'Custom
TabIndex = 2
Top = 3104
Width = 2205
End
Begin VB.Label Labsj
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Labsj"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00400040&
Height = 525
Left = 375
MouseIcon = "企业管理.frx":BEC5
MousePointer = 99 'Custom
TabIndex = 1
Top = 1365
Width = 2205
End
Begin VB.Label Labwh
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Labwh"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00400040&
Height = 525
Left = 375
MouseIcon = "企业管理.frx":C78F
MousePointer = 99 'Custom
TabIndex = 0
Top = 3936
Width = 2205
End
End
Attribute VB_Name = "frm_main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Labsj.Caption = "": Labhb.Caption = ""
Labtj.Caption = "": Labwh.Caption = "": Labexit.Caption = ""
Label7.Caption = "": Label8.Caption = ""
Label9.Caption = "": Label10.Caption = ""
StatusBar1.Panels(2).Text = "操作员:" + frmLogin.Combo1.Text
StatusBar1.Panels(3).Text = frm_main.Caption
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Labexit.BorderStyle = 0
End Sub
Private Sub Form_Unload(Cancel As Integer)
End
End Sub
Private Sub Label10_Click()
If Label10.Caption = "工时汇报查询" Then
frm_jcsj_lbxx.Show
frm_jcsj_lbxx.Frame1.Enabled = False
frm_jcsj_lbxx.Frame3.Enabled = True
frm_jcsj_lbxx.Caption = "工时汇报查询"
End If
If Label10.Caption = "工时统计查询" Then: frm_TJCX.Show
If Label10.Caption = "部门工作项目" Then: frm_bmgzxm.Show
If Label10.Caption = "员工对应分组" Then frm_ygdyfz.Show
End Sub
Private Sub Labhb_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label7.Caption = ""
Label8.Caption = "个人工时汇报"
Label9.Caption = ""
Label10.Caption = "工时汇报查询"
End Sub
Private Sub Labsj_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label7.Caption = ""
Label8.Caption = "部门信息设置"
Label9.Caption = "员工基本信息"
Label10.Caption = "员工对应分组"
End Sub
Private Sub Labtj_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label7.Caption = ""
Label8.Caption = "公司/部门工时统计"
Label9.Caption = ""
Label10.Caption = "工时统计查询"
End Sub
Private Sub Labwh_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label7.Caption = "用户管理"
Label8.Caption = "更改密码"
Label9.Caption = "公司工作项目"
Label10.Caption = "部门工作项目"
End Sub
Private Sub LabExit_Click()
End
End Sub
Private Sub Label9_Click()
If Label9.Caption = "公司工作项目" Then: frm_Gsgzxm.Show
If Label9.Caption = "员工基本信息" Then: frm_ygjbxx.Show
End Sub
Private Sub Timer1_Timer()
StatusBar1.Panels(1).Text = Format(Now)
End Sub
Private Sub Label7_Click()
If Label7.Caption = "用户管理" Then: frm_Tjyh.Show
End Sub
Private Sub Label8_Click()
If Label8.Caption = "更改密码" Then: frm_mmxg.Show
If Label8.Caption = "个人工时汇报" Then
frm_jcsj_lbxx.Show
frm_jcsj_lbxx.Frame1.Enabled = True
frm_jcsj_lbxx.Caption = "个人工时汇报"
frm_jcsj_lbxx.Frame3.Enabled = False
End If
If Label8.Caption = "公司/部门工时统计" Then: frm_gstj.Show
If Label8.Caption = "部门信息设置" Then: frm_bmygjg.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -