📄 frmmain.frm
字号:
VERSION 5.00
Begin VB.Form FrmMain
BorderStyle = 1 'Fixed Single
Caption = "企业人力资源管理系统"
ClientHeight = 9000
ClientLeft = 45
ClientTop = 330
ClientWidth = 11985
LinkTopic = "Form1"
MaxButton = 0 'False
Picture = "FrmMain.frx":0000
ScaleHeight = 9000
ScaleWidth = 11985
StartUpPosition = 2 '屏幕中心
Begin VB.Label lblDep
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "部门管理"
BeginProperty Font
Name = "幼圆"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800080&
Height = 300
Left = 6930
MouseIcon = "FrmMain.frx":14D3C
MousePointer = 99 'Custom
TabIndex = 6
Top = 1920
Width = 1260
End
Begin VB.Label lblexit
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "退出系统"
BeginProperty Font
Name = "幼圆"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C00000&
Height = 300
Left = 9765
MouseIcon = "FrmMain.frx":15046
MousePointer = 99 'Custom
TabIndex = 5
Top = 5640
Width = 1260
End
Begin VB.Image Image1
Height = 300
Left = 6120
Picture = "FrmMain.frx":15350
Top = 1920
Width = 300
End
Begin VB.Label lblEmp
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "员工管理"
BeginProperty Font
Name = "幼圆"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800080&
Height = 300
Left = 9690
MouseIcon = "FrmMain.frx":1576C
MousePointer = 99 'Custom
TabIndex = 4
Top = 1920
Width = 1260
End
Begin VB.Image Image2
Height = 300
Left = 8880
Picture = "FrmMain.frx":15A76
Top = 1920
Width = 300
End
Begin VB.Label lblCheck
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "考勤管理"
BeginProperty Font
Name = "幼圆"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800080&
Height = 300
Left = 6930
MouseIcon = "FrmMain.frx":15E92
MousePointer = 99 'Custom
TabIndex = 3
Top = 2880
Width = 1260
End
Begin VB.Image Image3
Height = 300
Left = 6120
Picture = "FrmMain.frx":1619C
Top = 2880
Width = 300
End
Begin VB.Label lblEvaluate
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "考评管理"
BeginProperty Font
Name = "幼圆"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800080&
Height = 300
Left = 9690
MouseIcon = "FrmMain.frx":165B8
MousePointer = 99 'Custom
TabIndex = 2
Top = 2820
Width = 1260
End
Begin VB.Image Image4
Height = 300
Left = 8880
Picture = "FrmMain.frx":168C2
Top = 2820
Width = 300
End
Begin VB.Label lblSalary
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "工资管理"
BeginProperty Font
Name = "幼圆"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800080&
Height = 300
Left = 6930
MouseIcon = "FrmMain.frx":16CDE
MousePointer = 99 'Custom
TabIndex = 1
Top = 3840
Width = 1260
End
Begin VB.Image Image5
Height = 300
Left = 6120
Picture = "FrmMain.frx":16FE8
Top = 3840
Width = 300
End
Begin VB.Shape Shape1
BackColor = &H8000000F&
BorderColor = &H00C00000&
Height = 735
Left = 9525
Shape = 4 'Rounded Rectangle
Top = 5400
Width = 1695
End
Begin VB.Image Image6
Height = 300
Left = 8925
Picture = "FrmMain.frx":17404
Top = 3840
Width = 300
End
Begin VB.Label lblUsers
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "用户管理"
BeginProperty Font
Name = "幼圆"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800080&
Height = 300
Left = 9735
MouseIcon = "FrmMain.frx":17820
MousePointer = 99 'Custom
TabIndex = 0
Top = 3840
Width = 1260
End
End
Attribute VB_Name = "FrmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
FrmLogin.Show 1
End Sub
Private Sub lblCheck_Click()
FrmCheckMan.Show 1
End Sub
Private Sub lblDep_Click()
FrmDepMan.Show 1
End Sub
Private Sub lblEmp_Click()
FrmEmpMan.Show
End Sub
Private Sub lblEvaluate_Click()
FrmEvaMan.Show 1
End Sub
Private Sub lblexit_Click()
DBapi_Disconnect
End
End Sub
Private Sub lblSalary_Click()
FrmSalaryMan.Show 1
End Sub
Private Sub lblUsers_Click()
If CurUser.User_type = 2 Or CurUser.User_type = 4 Then
UpperEmp.Emp_Id = CurUser.Emp_Id
UpperEmp.GetInfo (UpperEmp.Emp_Id)
With FrmUserEdit
.ComboName = UpperEmp.Emp_Name
.ComboName.Enabled = False
.OriUser = CurUser.UserName
.txtUserName = CurUser.UserName
.txtPass = CurUser.Pwd
.txtPass2 = CurUser.Pwd
If CurUser.User_type = 2 Then
.ComboType.AddItem "人力资源主管普通用户"
Else
.ComboType.AddItem "普通用户"
End If
.ComboType.ListIndex = 0
.Modify = True
.Show 1
End With
Else
FrmUserMan.Show 1
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -