📄 jmpa_main.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form Form1
Caption = "淄博双凤山水工资管理系统"
ClientHeight = 7755
ClientLeft = 165
ClientTop = 735
ClientWidth = 10605
Icon = "JmPa_main.frx":0000
LinkTopic = "Form1"
ScaleHeight = 7755
ScaleWidth = 10605
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin MSComctlLib.ImageList ImageList1
Left = 2640
Top = 120
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 2
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "JmPa_main.frx":08CA
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "JmPa_main.frx":11A4
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 570
Left = 0
TabIndex = 0
Top = 0
Width = 10605
_ExtentX = 18706
_ExtentY = 1005
ButtonWidth = 820
ButtonHeight = 953
Style = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 3
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "打开"
Key = "fopen"
ImageIndex = 1
Style = 3
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 4
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
Key = "fexit"
ImageIndex = 2
EndProperty
EndProperty
BorderStyle = 1
End
Begin VB.Menu Mnu_sys
Caption = "系统"
Begin VB.Menu Mnu_fopen
Caption = "-"
End
Begin VB.Menu Mnu_a0
Caption = "-"
End
Begin VB.Menu Mnu_backup
Caption = "备份"
End
Begin VB.Menu Mnu_restore
Caption = "恢复"
End
Begin VB.Menu Mnu_a1
Caption = "-"
End
Begin VB.Menu Mnu_user
Caption = "用户"
End
Begin VB.Menu Mnu_a5
Caption = "-"
End
Begin VB.Menu Mnu_backset
Caption = "-"
End
Begin VB.Menu Mnu_a2
Caption = "-"
End
Begin VB.Menu Mnu_exit
Caption = "退出"
End
End
Begin VB.Menu Mnu_pamanager
Caption = "工资管理"
Begin VB.Menu Mnu_item
Caption = "工资项目"
End
Begin VB.Menu Mnu_emp
Caption = "职员管理"
End
Begin VB.Menu mnu_bm
Caption = "部门管理"
End
Begin VB.Menu mnu_00a
Caption = "-"
End
Begin VB.Menu mnu_gsSET
Caption = "工资计算公式"
End
Begin VB.Menu mnu_00b
Caption = "-"
End
Begin VB.Menu Mnu_painput
Caption = "工资数据录入"
End
Begin VB.Menu mnu_00c
Caption = "-"
End
Begin VB.Menu mnu_Pareport
Caption = "工资报表"
Begin VB.Menu mnu_Pasendrep
Caption = "工资发放表"
End
Begin VB.Menu mnu_BMParpt
Caption = "部门工资报表"
End
End
Begin VB.Menu Mnu_b1
Caption = "-"
End
Begin VB.Menu Mnu_paend
Caption = "结账"
End
End
Begin VB.Menu Mnu_help
Caption = "帮助"
Begin VB.Menu Mnu_helpme
Caption = "帮助"
End
Begin VB.Menu Mnu_about
Caption = "关于"
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Mnu_about_Click()
frmAbout.Show , Form1
End Sub
Private Sub Mnu_backup_Click()
'数据备份
'Call fbackup
End Sub
Sub fbackup() '备份数据
Set fbackdata = CreateObject("adodb.connection")
fbackdata.Open connstring
fbackdata.Execute ("backup database " & App.Path & "\Jmpadata.mdb" & " to disk=c:\abc.ljm")
fbackdata.Close
End Sub
Private Sub mnu_banksend_Click()
'工资银行代发表
End Sub
Private Sub mnu_bm_Click()
'部门
Form12.Show , Form1
End Sub
Private Sub mnu_BMParpt_Click()
'部门工资报表
Form14.Show , Form1
End Sub
Private Sub Mnu_emp_Click()
Form5.Show , Form1
End Sub
Private Sub Mnu_exit_Click()
'退出软件
If MsgBox("您是否要退出本软件!", vbYesNo + vbQuestion, "退出") = vbYes Then End
End Sub
Private Sub mnu_gsSET_Click()
'定义工资计算公式
Form11.Show , Form1
End Sub
Private Sub Mnu_helpme_Click()
'帮助
ShellExecute 0, "", App.Path + "\工资管理开发说明.doc", "", "", 5
End Sub
Private Sub Mnu_item_Click()
Form3.Show , Form1
End Sub
Private Sub Mnu_paend_Click()
Form8.Show , Form1
End Sub
Private Sub Mnu_painput_Click()
Form7.Show
'bianfeng改动tian jia .hide
End Sub
Private Sub mnu_Pasendrep_Click()
'工资发放表
Form9.Show , Form1
End Sub
Private Sub Mnu_user_Click()
'用户管理
Form2.Show , Form1
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Index
Case 1
'打开账套文件
Case 3
'退出软件
If MsgBox("您是否要退出本软件!", vbYesNo + vbQuestion, "退出") = vbYes Then End
End Select
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -