📄 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 + -