?? frmmain.frm
字號:
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "comctl32.ocx"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "Mscomctl.ocx"
Begin VB.Form frmMain
Caption = "進銷存系統"
ClientHeight = 7080
ClientLeft = 165
ClientTop = 450
ClientWidth = 10065
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmMain.frx":0000
LinkTopic = "Form1"
ScaleHeight = 7080
ScaleWidth = 10065
StartUpPosition = 2 'CenterScreen
WindowState = 2 'Maximized
Begin ComctlLib.Toolbar tlb
Align = 1 'Align Top
Height = 855
Left = 0
TabIndex = 0
Top = 0
Width = 10065
_ExtentX = 17754
_ExtentY = 1508
ButtonWidth = 1455
ButtonHeight = 1349
Appearance = 1
ImageList = "I1"
_Version = 327682
BeginProperty Buttons {0713E452-850A-101B-AFC0-4210102A8DA7}
NumButtons = 14
BeginProperty Button1 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "進貨"
Key = ""
Object.Tag = ""
ImageIndex = 1
EndProperty
BeginProperty Button2 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "銷售"
Key = ""
Object.Tag = ""
ImageIndex = 2
EndProperty
BeginProperty Button3 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Style = 3
MixedState = -1 'True
EndProperty
BeginProperty Button4 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "銷售查看"
Key = ""
Object.Tag = ""
ImageIndex = 3
Style = 2
EndProperty
BeginProperty Button5 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "庫存查看"
Key = ""
Object.Tag = ""
ImageIndex = 4
Style = 2
EndProperty
BeginProperty Button6 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "所有"
Key = ""
Object.Tag = ""
ImageIndex = 5
Style = 2
EndProperty
BeginProperty Button7 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Style = 3
MixedState = -1 'True
EndProperty
BeginProperty Button8 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "刷新"
Key = ""
Object.Tag = ""
ImageIndex = 6
EndProperty
BeginProperty Button9 {0713F354-850A-101B-AFC0-4210102A8DA7}
Enabled = 0 'False
Caption = "刪除"
Key = ""
Object.Tag = ""
ImageIndex = 7
EndProperty
BeginProperty Button10 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "查詢"
Key = ""
Object.Tag = ""
ImageIndex = 8
EndProperty
BeginProperty Button11 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Style = 3
MixedState = -1 'True
EndProperty
BeginProperty Button12 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "設置"
Key = ""
Object.Tag = ""
ImageIndex = 9
EndProperty
BeginProperty Button13 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Style = 3
MixedState = -1 'True
EndProperty
BeginProperty Button14 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "退出"
Key = ""
Object.Tag = ""
ImageIndex = 10
EndProperty
EndProperty
End
Begin MSComctlLib.ListView lvw
Height = 5100
Left = 180
TabIndex = 2
Top = 1125
Width = 9150
_ExtentX = 16140
_ExtentY = 8996
View = 3
LabelEdit = 1
LabelWrap = -1 'True
HideSelection = -1 'True
FullRowSelect = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = 16777215
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
NumItems = 0
End
Begin ComctlLib.StatusBar stb
Align = 2 'Align Bottom
Height = 285
Left = 0
TabIndex = 1
Top = 6795
Width = 10065
_ExtentX = 17754
_ExtentY = 503
SimpleText = ""
_Version = 327682
BeginProperty Panels {0713E89E-850A-101B-AFC0-4210102A8DA7}
NumPanels = 4
BeginProperty Panel1 {0713E89F-850A-101B-AFC0-4210102A8DA7}
AutoSize = 1
Object.Width = 8070
Text = "系統登錄:管理員"
TextSave = "系統登錄:管理員"
Key = ""
Object.Tag = ""
EndProperty
BeginProperty Panel2 {0713E89F-850A-101B-AFC0-4210102A8DA7}
Object.Width = 4057
MinWidth = 4057
Text = "用戶級別:"
TextSave = "用戶級別:"
Key = ""
Object.Tag = ""
EndProperty
BeginProperty Panel3 {0713E89F-850A-101B-AFC0-4210102A8DA7}
Style = 6
AutoSize = 2
TextSave = "2004-5-31"
Key = ""
Object.Tag = ""
EndProperty
BeginProperty Panel4 {0713E89F-850A-101B-AFC0-4210102A8DA7}
Style = 5
AutoSize = 2
TextSave = "13:58"
Key = ""
Object.Tag = ""
EndProperty
EndProperty
End
Begin ComctlLib.ImageList I1
Left = 2520
Top = 630
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 327682
BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7}
NumListImages = 10
BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmMain.frx":08CA
Key = ""
EndProperty
BeginProperty ListImage2 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmMain.frx":0BE4
Key = ""
EndProperty
BeginProperty ListImage3 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmMain.frx":0EFE
Key = ""
EndProperty
BeginProperty ListImage4 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmMain.frx":1218
Key = ""
EndProperty
BeginProperty ListImage5 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmMain.frx":1532
Key = ""
EndProperty
BeginProperty ListImage6 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmMain.frx":184C
Key = ""
EndProperty
BeginProperty ListImage7 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmMain.frx":1B66
Key = ""
EndProperty
BeginProperty ListImage8 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmMain.frx":1E80
Key = ""
EndProperty
BeginProperty ListImage9 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmMain.frx":219A
Key = ""
EndProperty
BeginProperty ListImage10 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmMain.frx":24B4
Key = ""
EndProperty
EndProperty
End
Begin VB.Menu mnuOperate
Caption = "操作(&O)"
Begin VB.Menu mnuOperate_Zxdl
Caption = "注銷登錄(&L)"
End
Begin VB.Menu mnuOperate_sep3
Caption = "-"
End
Begin VB.Menu mnuOperate_Jhdj
Caption = "進貨登記(&J)"
End
Begin VB.Menu mnuOperate_Xsdj
Caption = "銷售登記(&S)"
End
Begin VB.Menu mnuOperate_sep1
Caption = "-"
End
Begin VB.Menu mnuOperate_Scjl
Caption = "刪除(&D)"
Enabled = 0 'False
Shortcut = {DEL}
End
Begin VB.Menu mnuOperate_sep2
Caption = "-"
End
Begin VB.Menu mnuOperate_Print
Caption = "打印"
Shortcut = ^P
End
Begin VB.Menu mnuOperate_Preview
Caption = "打印預覽"
End
Begin VB.Menu mnuOperate_Exit
Caption = "退出(&X)"
Shortcut = ^X
End
End
Begin VB.Menu mnuView
Caption = "瀏覽(&V)"
Begin VB.Menu mnuView_Ckxsjl
Caption = "查看銷售記錄"
End
Begin VB.Menu mnuView_Ckkcjl
Caption = "查看庫存記錄"
End
Begin VB.Menu mnuView_Cksyjl
Caption = "查看所有(&A)"
End
End
Begin VB.Menu mnuSearch
Caption = "查詢(&S)"
Begin VB.Menu mnuSearch_Hh
Caption = "根據貨號查詢"
End
Begin VB.Menu mnuSearch_Sep1
Caption = "-"
End
Begin VB.Menu mnuSearch_Jhrq
Caption = "根據進貨日期查詢"
End
Begin VB.Menu mnuSearch_Xsrq
Caption = "根據銷售日期查詢"
End
End
Begin VB.Menu mnuConfig
Caption = "設置(&C)"
Begin VB.Menu mnuConfig_xtpz
Caption = "系統配置"
End
End
Begin VB.Menu mnuHelp
Caption = "幫助(&H)"
Begin VB.Menu mnuAbout
Caption = "關于...(&A)"
End
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim intViewTag As Integer
Private Sub Form_Activate()
stb.Panels(1).Text = "系統登錄:" & gstrUser
If gintLevel = 0 Then
stb.Panels(2).Text = "用戶級別:管理員"
Else
stb.Panels(2).Text = "用戶級別:操作員"
End If
End Sub
Private Sub Form_Load()
mnuView_Cksyjl_Click
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -