📄 frmmain.vb
字号:
Public Class frmMain
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写 dispose 以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents MenuItem1 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem3 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem4 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem5 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem6 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem7 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem11 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem12 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem13 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem17 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem18 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem20 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem22 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem23 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem25 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem26 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem28 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem29 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem31 As System.Windows.Forms.MenuItem
Friend WithEvents ImageList1 As System.Windows.Forms.ImageList
Friend WithEvents StatusBarPanel1 As System.Windows.Forms.StatusBarPanel
Friend WithEvents Timer1 As System.Timers.Timer
Friend WithEvents tbbExt As System.Windows.Forms.ToolBarButton
Friend WithEvents tbbSal As System.Windows.Forms.ToolBarButton
Friend WithEvents tbbPur As System.Windows.Forms.ToolBarButton
Friend WithEvents ToolBarButton1 As System.Windows.Forms.ToolBarButton
Friend WithEvents ToolBarButton2 As System.Windows.Forms.ToolBarButton
Friend WithEvents ToolBarButton3 As System.Windows.Forms.ToolBarButton
Friend WithEvents mnuMain As System.Windows.Forms.MainMenu
Friend WithEvents tlbMain As System.Windows.Forms.ToolBar
Friend WithEvents stbMain As System.Windows.Forms.StatusBar
Friend WithEvents tvwMain As System.Windows.Forms.TreeView
Friend WithEvents StatusBarPanel2 As System.Windows.Forms.StatusBarPanel
Friend WithEvents StatusBarPanel3 As System.Windows.Forms.StatusBarPanel
Friend WithEvents StatusBarPanel4 As System.Windows.Forms.StatusBarPanel
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmMain))
Me.tlbMain = New System.Windows.Forms.ToolBar
Me.ToolBarButton1 = New System.Windows.Forms.ToolBarButton
Me.tbbPur = New System.Windows.Forms.ToolBarButton
Me.ToolBarButton2 = New System.Windows.Forms.ToolBarButton
Me.tbbSal = New System.Windows.Forms.ToolBarButton
Me.ToolBarButton3 = New System.Windows.Forms.ToolBarButton
Me.tbbExt = New System.Windows.Forms.ToolBarButton
Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components)
Me.mnuMain = New System.Windows.Forms.MainMenu
Me.MenuItem1 = New System.Windows.Forms.MenuItem
Me.MenuItem11 = New System.Windows.Forms.MenuItem
Me.MenuItem12 = New System.Windows.Forms.MenuItem
Me.MenuItem13 = New System.Windows.Forms.MenuItem
Me.MenuItem3 = New System.Windows.Forms.MenuItem
Me.MenuItem17 = New System.Windows.Forms.MenuItem
Me.MenuItem18 = New System.Windows.Forms.MenuItem
Me.MenuItem4 = New System.Windows.Forms.MenuItem
Me.MenuItem20 = New System.Windows.Forms.MenuItem
Me.MenuItem22 = New System.Windows.Forms.MenuItem
Me.MenuItem5 = New System.Windows.Forms.MenuItem
Me.MenuItem23 = New System.Windows.Forms.MenuItem
Me.MenuItem25 = New System.Windows.Forms.MenuItem
Me.MenuItem6 = New System.Windows.Forms.MenuItem
Me.MenuItem26 = New System.Windows.Forms.MenuItem
Me.MenuItem28 = New System.Windows.Forms.MenuItem
Me.MenuItem7 = New System.Windows.Forms.MenuItem
Me.MenuItem29 = New System.Windows.Forms.MenuItem
Me.MenuItem31 = New System.Windows.Forms.MenuItem
Me.tvwMain = New System.Windows.Forms.TreeView
Me.stbMain = New System.Windows.Forms.StatusBar
Me.StatusBarPanel1 = New System.Windows.Forms.StatusBarPanel
Me.StatusBarPanel2 = New System.Windows.Forms.StatusBarPanel
Me.StatusBarPanel3 = New System.Windows.Forms.StatusBarPanel
Me.StatusBarPanel4 = New System.Windows.Forms.StatusBarPanel
Me.Timer1 = New System.Timers.Timer
CType(Me.StatusBarPanel1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.StatusBarPanel2, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.StatusBarPanel3, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.StatusBarPanel4, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.Timer1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'tlbMain
'
Me.tlbMain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.tlbMain.Buttons.AddRange(New System.Windows.Forms.ToolBarButton() {Me.ToolBarButton1, Me.tbbPur, Me.ToolBarButton2, Me.tbbSal, Me.ToolBarButton3, Me.tbbExt})
Me.tlbMain.DropDownArrows = True
Me.tlbMain.ImageList = Me.ImageList1
Me.tlbMain.Location = New System.Drawing.Point(0, 0)
Me.tlbMain.Name = "tlbMain"
Me.tlbMain.ShowToolTips = True
Me.tlbMain.Size = New System.Drawing.Size(768, 42)
Me.tlbMain.TabIndex = 1
'
'ToolBarButton1
'
Me.ToolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator
'
'tbbPur
'
Me.tbbPur.ImageIndex = 1
Me.tbbPur.Text = "采 购 单"
'
'ToolBarButton2
'
Me.ToolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator
'
'tbbSal
'
Me.tbbSal.ImageIndex = 0
Me.tbbSal.Text = "销 售 单"
'
'ToolBarButton3
'
Me.ToolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator
'
'tbbExt
'
Me.tbbExt.ImageIndex = 16
Me.tbbExt.Text = "退出系统"
'
'ImageList1
'
Me.ImageList1.ImageSize = New System.Drawing.Size(16, 16)
Me.ImageList1.ImageStream = CType(resources.GetObject("ImageList1.ImageStream"), System.Windows.Forms.ImageListStreamer)
Me.ImageList1.TransparentColor = System.Drawing.Color.Transparent
'
'mnuMain
'
Me.mnuMain.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem1, Me.MenuItem3, Me.MenuItem4, Me.MenuItem5, Me.MenuItem6, Me.MenuItem7})
'
'MenuItem1
'
Me.MenuItem1.Index = 0
Me.MenuItem1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem11, Me.MenuItem12, Me.MenuItem13})
Me.MenuItem1.Text = " 系统(&S) "
'
'MenuItem11
'
Me.MenuItem11.Index = 0
Me.MenuItem11.Text = "关于系统"
'
'MenuItem12
'
Me.MenuItem12.Index = 1
Me.MenuItem12.Text = "-"
'
'MenuItem13
'
Me.MenuItem13.Index = 2
Me.MenuItem13.Shortcut = System.Windows.Forms.Shortcut.CtrlX
Me.MenuItem13.Text = "退出系统"
'
'MenuItem3
'
Me.MenuItem3.Index = 1
Me.MenuItem3.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem17, Me.MenuItem18})
Me.MenuItem3.Text = " 商品管理(&P) "
'
'MenuItem17
'
Me.MenuItem17.Index = 0
Me.MenuItem17.Text = "编辑商品资料"
'
'MenuItem18
'
Me.MenuItem18.Index = 1
Me.MenuItem18.Text = "查询商品资料"
'
'MenuItem4
'
Me.MenuItem4.Index = 2
Me.MenuItem4.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem20, Me.MenuItem22})
Me.MenuItem4.Text = " 采购管理(&I) "
'
'MenuItem20
'
Me.MenuItem20.Index = 0
Me.MenuItem20.Text = "采购单"
'
'MenuItem22
'
Me.MenuItem22.Index = 1
Me.MenuItem22.Text = "统计采购信息"
'
'MenuItem5
'
Me.MenuItem5.Index = 3
Me.MenuItem5.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem23, Me.MenuItem25})
Me.MenuItem5.Text = " 销售管理(&X) "
'
'MenuItem23
'
Me.MenuItem23.Index = 0
Me.MenuItem23.Text = "销售单"
'
'MenuItem25
'
Me.MenuItem25.Index = 1
Me.MenuItem25.Text = "统计销售信息"
'
'MenuItem6
'
Me.MenuItem6.Index = 4
Me.MenuItem6.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem26, Me.MenuItem28})
Me.MenuItem6.Text = " 报损管理(&D) "
'
'MenuItem26
'
Me.MenuItem26.Index = 0
Me.MenuItem26.Text = "报损单"
'
'MenuItem28
'
Me.MenuItem28.Index = 1
Me.MenuItem28.Text = "统计报损信息"
'
'MenuItem7
'
Me.MenuItem7.Index = 5
Me.MenuItem7.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem29, Me.MenuItem31})
Me.MenuItem7.Text = " 供应商管理(&G) "
'
'MenuItem29
'
Me.MenuItem29.Index = 0
Me.MenuItem29.Text = "编辑供应商信息"
'
'MenuItem31
'
Me.MenuItem31.Index = 1
Me.MenuItem31.Text = "查询供应商信息"
'
'tvwMain
'
Me.tvwMain.BackColor = System.Drawing.Color.FromArgb(CType(192, Byte), CType(192, Byte), CType(255, Byte))
Me.tvwMain.Font = New System.Drawing.Font("新宋体", 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.tvwMain.ForeColor = System.Drawing.Color.Blue
Me.tvwMain.ImageList = Me.ImageList1
Me.tvwMain.ImeMode = System.Windows.Forms.ImeMode.Katakana
Me.tvwMain.Location = New System.Drawing.Point(16, 64)
Me.tvwMain.Name = "tvwMain"
Me.tvwMain.Nodes.AddRange(New System.Windows.Forms.TreeNode() {New System.Windows.Forms.TreeNode("多层超市进销存管理系统", 3, 3, New System.Windows.Forms.TreeNode() {New System.Windows.Forms.TreeNode("基本资料维护", 14, 14, New System.Windows.Forms.TreeNode() {New System.Windows.Forms.TreeNode("商品资料维护", 4, 4), New System.Windows.Forms.TreeNode("供应商资料维护", 5, 5)}), New System.Windows.Forms.TreeNode("基本资料查询", 15, 15, New System.Windows.Forms.TreeNode() {New System.Windows.Forms.TreeNode("商品资料查询", 13, 13), New System.Windows.Forms.TreeNode("供应商资料查询", 12, 12)}), New System.Windows.Forms.TreeNode("单据维护", 14, 14, New System.Windows.Forms.TreeNode() {New System.Windows.Forms.TreeNode("采购单", 6, 6), New System.Windows.Forms.TreeNode("销售单", 7, 7), New System.Windows.Forms.TreeNode("报损单", 8, 8)}), New System.Windows.Forms.TreeNode("单据统计和打印", 15, 15, New System.Windows.Forms.TreeNode() {New System.Windows.Forms.TreeNode("采购单统计", 11, 11), New System.Windows.Forms.TreeNode("销售单统计", 10, 10), New System.Windows.Forms.TreeNode("报损单统计", 9, 9)})})})
Me.tvwMain.Size = New System.Drawing.Size(208, 200)
Me.tvwMain.TabIndex = 10
'
'stbMain
'
Me.stbMain.Location = New System.Drawing.Point(0, 401)
Me.stbMain.Name = "stbMain"
Me.stbMain.Panels.AddRange(New System.Windows.Forms.StatusBarPanel() {Me.StatusBarPanel1, Me.StatusBarPanel2, Me.StatusBarPanel3, Me.StatusBarPanel4})
Me.stbMain.ShowPanels = True
Me.stbMain.Size = New System.Drawing.Size(768, 32)
Me.stbMain.TabIndex = 12
'
'StatusBarPanel1
'
Me.StatusBarPanel1.Alignment = System.Windows.Forms.HorizontalAlignment.Center
Me.StatusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents
Me.StatusBarPanel1.Text = " 多层超市进销存管理系统 "
Me.StatusBarPanel1.Width = 175
'
'StatusBarPanel2
'
Me.StatusBarPanel2.Alignment = System.Windows.Forms.HorizontalAlignment.Center
Me.StatusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring
Me.StatusBarPanel2.Width = 557
'
'StatusBarPanel3
'
Me.StatusBarPanel3.Alignment = System.Windows.Forms.HorizontalAlignment.Center
Me.StatusBarPanel3.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents
Me.StatusBarPanel3.Width = 10
'
'StatusBarPanel4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -