?? frmmain.frm
字號:
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00008080&
Height = 195
Index = 5
Left = 360
MouseIcon = "frmMain.frx":1988
MousePointer = 99 'Custom
TabIndex = 11
Top = 3000
Width = 1335
End
Begin VB.Label Labdjcl
BackStyle = 0 'Transparent
Caption = "入庫單編輯"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 255
Index = 1
Left = 360
MouseIcon = "frmMain.frx":1C92
MousePointer = 99 'Custom
TabIndex = 10
Top = 720
Width = 1035
End
Begin VB.Label Labdjcl
BackStyle = 0 'Transparent
Caption = "入庫單審核"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 255
Index = 2
Left = 1680
MouseIcon = "frmMain.frx":1F9C
MousePointer = 99 'Custom
TabIndex = 9
Top = 720
Width = 1215
End
Begin VB.Label Labdjcl
BackStyle = 0 'Transparent
Caption = "出庫單審核"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 255
Index = 4
Left = 1680
MouseIcon = "frmMain.frx":22A6
MousePointer = 99 'Custom
TabIndex = 8
Top = 1080
Width = 1035
End
Begin VB.Label Labtjcx
BackStyle = 0 'Transparent
Caption = "入庫單查詢"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 255
Index = 1
Left = 3360
MouseIcon = "frmMain.frx":25B0
MousePointer = 99 'Custom
TabIndex = 7
Top = 720
Width = 1275
End
Begin VB.Label Labtjcx
BackStyle = 0 'Transparent
Caption = "出庫單查詢"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 255
Index = 2
Left = 3360
MouseIcon = "frmMain.frx":28BA
MousePointer = 99 'Custom
TabIndex = 6
Top = 1080
Width = 1215
End
Begin VB.Label Labxtwh
BackStyle = 0 'Transparent
Caption = "系統啟用"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 255
Index = 1
Left = 3360
MouseIcon = "frmMain.frx":2BC4
MousePointer = 99 'Custom
TabIndex = 5
Top = 2160
Width = 795
End
Begin VB.Label Labdjcl
BackStyle = 0 'Transparent
Caption = "出庫單編輯"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 255
Index = 3
Left = 360
MouseIcon = "frmMain.frx":2ECE
MousePointer = 99 'Custom
TabIndex = 4
Top = 1080
Width = 975
End
Begin VB.Label Labxtwh
BackStyle = 0 'Transparent
Caption = "資料刪除"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 255
Index = 3
Left = 4680
MouseIcon = "frmMain.frx":31D8
MousePointer = 99 'Custom
TabIndex = 3
Top = 2160
Width = 1035
End
Begin VB.Label Labxtwh
BackStyle = 0 'Transparent
Caption = "月終結轉"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 255
Index = 4
Left = 4800
MouseIcon = "frmMain.frx":34E2
MousePointer = 99 'Custom
TabIndex = 2
Top = 2520
Width = 855
End
Begin VB.Label Labxtwh
BackStyle = 0 'Transparent
Caption = "操作員設置"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 255
Index = 2
Left = 3360
MouseIcon = "frmMain.frx":37EC
MousePointer = 99 'Custom
TabIndex = 1
Top = 2580
Width = 1035
End
End
Begin VB.PictureBox Picture1
Align = 1 'Align Top
Height = 0
Left = 0
ScaleHeight = 0
ScaleWidth = 8835
TabIndex = 25
Top = 0
Width = 8835
End
Begin VB.PictureBox Picture2
Align = 1 'Align Top
Height = 0
Left = 0
ScaleHeight = 0
ScaleWidth = 8835
TabIndex = 27
Top = 0
Width = 8835
End
Begin VB.PictureBox Picture3
Align = 1 'Align Top
Height = 0
Left = 0
ScaleHeight = 0
ScaleWidth = 8835
TabIndex = 28
Top = 0
Width = 8835
End
Begin VB.Menu mnuAct_dj
Caption = "單據管理"
Begin VB.Menu mnuEdit_ps
Caption = "入庫單編輯"
End
Begin VB.Menu mnuRec_ps
Caption = "入庫單審核"
End
Begin VB.Menu mnuEdit_sales
Caption = "出庫單編輯"
End
Begin VB.Menu mnuRec_sales
Caption = "出庫單審核"
End
End
Begin VB.Menu mnuSet_jczl
Caption = "輔助項目管理"
Begin VB.Menu mnuSet_department
Caption = "部門管理"
End
Begin VB.Menu mnuSet_employee
Caption = "員工管理"
End
Begin VB.Menu mnuSet_protype
Caption = "物品類別管理"
End
Begin VB.Menu mnuSet_product
Caption = "物品管理"
End
Begin VB.Menu mnuSet_supplier
Caption = "供應商管理"
End
End
Begin VB.Menu mnuSql
Caption = "統計查詢"
Begin VB.Menu mnuSql_djps
Caption = "入庫單查詢"
End
Begin VB.Menu mnuSql_djsales
Caption = "出庫單查詢"
End
End
Begin VB.Menu mnuSystem
Caption = "系統維護"
Begin VB.Menu mnuSys_start
Caption = "系統啟用"
End
Begin VB.Menu mnuSys_user
Caption = "操作員設置"
End
Begin VB.Menu mnuSys_delete
Caption = "資料刪除"
End
Begin VB.Menu mnuSys_trans
Caption = "月終結轉"
End
End
Begin VB.Menu mnuReport
Caption = "報表管理"
Begin VB.Menu mnuReport_DetailUse
Caption = "部門領用明細表"
End
Begin VB.Menu mnuReport_TotalUse
Caption = "部門領用匯總表"
End
Begin VB.Menu mnuReport_TotalYearUse
Caption = "部門領用年度匯總表"
End
End
Begin VB.Menu mnuExit
Caption = "退出系統"
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private rsSys As ADODB.Recordset
Private cmSys As ADODB.Command
Private Sub Labbbgl_Click(Index As Integer)
Select Case Index
'Case 1 '倉庫庫存報表
' mnuReport_Mat_Click
' Exit Sub
Case 1 '部門領用明細表
mnuReport_DetailUse_Click
Exit Sub
Case 2 '部門領用匯總表
mnuReport_TotalUse_Click
Exit Sub
Case 3 '部門領用年度匯總表
mnuReport_TotalYearUse_Click
Exit Sub
End Select
End Sub
Private Sub Labdjcl_Click(Index As Integer)
Select Case Index
Case 1 '入庫單編輯
mnuEdit_ps_Click
Exit Sub
Case 2 '入庫單審核
mnuRec_ps_Click
Exit Sub
Case 3 '出庫單編輯
mnuEdit_sales_Click
Exit Sub
Case 4 '出庫單審核
mnuRec_sales_Click
Exit Sub
Case 5 '
Exit Sub
Case 6 '
Exit Sub
End Select
End Sub
Private Sub Labfzxmgl_Click(Index As Integer)
'判斷單擊的Label控件
Select Case Index
Case 1
'單擊“部門管理”對應的Label控件,彈出部門管理窗體模塊
mnuSet_department_Click
Exit Sub
Case 2
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -