main.frm
资源名称:ERPSYS.zip [点击查看]
上传用户:zhpu1995
上传日期:2013-09-06
资源大小:61151k
文件大小:20k
源码类别:
企业管理
开发平台:
Visual Basic
- VERSION 5.00
- Begin VB.Form MainForm
- BorderStyle = 1 'Fixed Single
- Caption = "总控台"
- ClientHeight = 6360
- ClientLeft = 1680
- ClientTop = 2385
- ClientWidth = 9000
- Icon = "main.frx":0000
- LinkTopic = "Form1"
- LockControls = -1 'True
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 6360
- ScaleWidth = 9000
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "退出"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 21
- Left = 7260
- MouseIcon = "main.frx":1042
- MousePointer = 99 'Custom
- TabIndex = 21
- Top = 5220
- Width = 420
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "基础数据"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 20
- Left = 5400
- MouseIcon = "main.frx":134C
- MousePointer = 99 'Custom
- TabIndex = 20
- Top = 5220
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "财务分析"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 19
- Left = 5400
- MouseIcon = "main.frx":1656
- MousePointer = 99 'Custom
- TabIndex = 19
- Top = 3210
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "成本核算"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 18
- Left = 5400
- MouseIcon = "main.frx":1960
- MousePointer = 99 'Custom
- TabIndex = 18
- Top = 2775
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "包装物管理"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 4
- Left = 7260
- MouseIcon = "main.frx":1C6A
- MousePointer = 99 'Custom
- TabIndex = 17
- Top = 2775
- Width = 1050
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "运输系统"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 16
- Left = 7260
- MouseIcon = "main.frx":1F74
- MousePointer = 99 'Custom
- TabIndex = 16
- Top = 3210
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "系统管理"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 17
- Left = 7260
- MouseIcon = "main.frx":227E
- MousePointer = 99 'Custom
- TabIndex = 15
- Top = 4830
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "财务总帐"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 0
- Left = 5400
- MouseIcon = "main.frx":2588
- MousePointer = 99 'Custom
- TabIndex = 14
- Top = 1110
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "应付系统"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 1
- Left = 5400
- MouseIcon = "main.frx":2892
- MousePointer = 99 'Custom
- TabIndex = 13
- Top = 1920
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "质量系统"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 14
- Left = 7260
- MouseIcon = "main.frx":2B9C
- MousePointer = 99 'Custom
- TabIndex = 12
- Top = 4020
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "生产计划"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 13
- Left = 7260
- MouseIcon = "main.frx":2EA6
- MousePointer = 99 'Custom
- TabIndex = 11
- Top = 3615
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "工资管理"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 7
- Left = 5400
- MouseIcon = "main.frx":31B0
- MousePointer = 99 'Custom
- TabIndex = 10
- Top = 4425
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "人事管理"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 6
- Left = 5400
- MouseIcon = "main.frx":34BA
- MousePointer = 99 'Custom
- TabIndex = 9
- Top = 4020
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "存货核算"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 11
- Left = 7260
- MouseIcon = "main.frx":37C4
- MousePointer = 99 'Custom
- TabIndex = 8
- Top = 1920
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "库存系统"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 10
- Left = 7260
- MouseIcon = "main.frx":3ACE
- MousePointer = 99 'Custom
- TabIndex = 7
- Top = 1515
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "销售系统"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 12
- Left = 7260
- MouseIcon = "main.frx":3DD8
- MousePointer = 99 'Custom
- TabIndex = 6
- Top = 2370
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "采购系统"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 9
- Left = 7260
- MouseIcon = "main.frx":40E2
- MousePointer = 99 'Custom
- TabIndex = 5
- Top = 1110
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "电子报表"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 5
- Left = 5400
- MouseIcon = "main.frx":43EC
- MousePointer = 99 'Custom
- TabIndex = 4
- Top = 3615
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "应收系统"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 2
- Left = 5400
- MouseIcon = "main.frx":46F6
- MousePointer = 99 'Custom
- TabIndex = 3
- Top = 1515
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "设备管理"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 15
- Left = 7260
- MouseIcon = "main.frx":4A00
- MousePointer = 99 'Custom
- TabIndex = 2
- Top = 4425
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "固定资产"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 210
- Index = 3
- Left = 5400
- MouseIcon = "main.frx":4D0A
- MousePointer = 99 'Custom
- TabIndex = 1
- Top = 2370
- Width = 840
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "考核管理"
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 210
- Index = 8
- Left = 5400
- MouseIcon = "main.frx":5014
- MousePointer = 99 'Custom
- TabIndex = 0
- Top = 4830
- Width = 840
- End
- Begin VB.Image Image1
- Height = 6375
- Left = 0
- Picture = "main.frx":531E
- Top = -30
- Width = 9000
- End
- End
- Attribute VB_Name = "MainForm"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Form_Load()
- Me.Move (Screen.Width - Me.Width) / 2, (Screen.Height - Me.Height) / 2
- If App.PrevInstance Then
- MsgBox "您已经打开了一个控制台!请切换到这个控制台。", vbInformation, "提醒"
- End
- End If
- End Sub
- Private Sub Label1_Click(Index As Integer)
- On Error GoTo EXIT_ERR
- Select Case Index
- Case 0
- Shell App.Path & "财务总帐.exe", vbNormalFocus
- Case 1
- Shell App.Path & "应付系统.exe", vbNormalFocus
- Case 2
- Shell App.Path & "应收系统.exe", vbNormalFocus
- Case 3
- Shell App.Path & "固定资产.exe", vbNormalFocus
- Case 4
- Shell App.Path & "包装物管理.exe", vbNormalFocus
- Case 5
- Shell App.Path & "电子报表.exe", vbNormalFocus
- Case 6
- Shell App.Path & "人事管理.exe", vbNormalFocus
- Case 7
- Shell App.Path & "工资管理.exe", vbNormalFocus
- Case 8
- Shell App.Path & "考核管理.exe", vbNormalFocus
- Case 9
- Shell App.Path & "采购系统.exe", vbNormalFocus
- Case 10
- Shell App.Path & "库存系统.exe", vbNormalFocus
- Case 11
- Shell App.Path & "存货核算.exe", vbNormalFocus
- Case 12
- Shell App.Path & "销售系统.exe", vbNormalFocus
- Case 13
- Shell App.Path & "生产计划.exe", vbNormalFocus
- Case 14
- Shell App.Path & "质量系统.exe", vbNormalFocus
- Case 15
- Shell App.Path & "设备管理.exe", vbNormalFocus
- Case 16
- Shell App.Path & "运输系统.exe", vbNormalFocus
- Case 17
- Shell App.Path & "系统管理.exe", vbNormalFocus
- Case 18
- Shell App.Path & "成本核算.exe", vbNormalFocus
- Case 19
- Shell App.Path & "财务分析.exe", vbNormalFocus
- Case 20
- Shell App.Path & "基础数据.exe", vbNormalFocus
- Case 21
- Unload Me
- Exit Sub
- End Select
- Me.WindowState = 1
- Exit Sub
- EXIT_ERR:
- MsgBox "没有安装此子系统!", 48
- End Sub
- Private Sub Label1_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
- Label1(Index).ForeColor = &HFF&
- Label1(Index).FontBold = True
- End Sub
- Private Sub Image1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Dim i As Integer
- For i = 0 To Label1.Count - 1
- Label1(i).ForeColor = &HFFFFFF
- Label1(i).FontBold = False
- Next i
- End Sub