⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmorderlist.vb

📁 VB.NET开发的进销存系统,数据库SQLSERVER
💻 VB
📖 第 1 页 / 共 3 页
字号:
Imports System.Data
Public Class frmOrderList
    Inherits System.Windows.Forms.Form
    Private UserName As String = ""
    Private dtOrderList As DataTable
#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 cbbWorker As System.Windows.Forms.ComboBox
    Friend WithEvents ToolBar1 As System.Windows.Forms.ToolBar
    Friend WithEvents tbbSave As System.Windows.Forms.ToolBarButton
    Friend WithEvents ImageList1 As System.Windows.Forms.ImageList
    Friend WithEvents tbbPrint As System.Windows.Forms.ToolBarButton
    Friend WithEvents grbOrderListDetail As System.Windows.Forms.GroupBox
    Friend WithEvents btnSave As System.Windows.Forms.Button
    Friend WithEvents dgdOrderList As System.Windows.Forms.DataGrid
    Friend WithEvents lblDepotId As System.Windows.Forms.Label
    Friend WithEvents cbbDepotId As System.Windows.Forms.ComboBox
    Friend WithEvents txbPrice As System.Windows.Forms.TextBox
    Friend WithEvents txbGoodsCount As System.Windows.Forms.TextBox
    Friend WithEvents txbGoodsUnit As System.Windows.Forms.TextBox
    Friend WithEvents txbGoodsName As System.Windows.Forms.TextBox
    Friend WithEvents txbGoodsId As System.Windows.Forms.TextBox
    Friend WithEvents lblGoodsPrice As System.Windows.Forms.Label
    Friend WithEvents lblGoodsCount As System.Windows.Forms.Label
    Friend WithEvents btnAdd As System.Windows.Forms.Button
    Friend WithEvents lblUnit As System.Windows.Forms.Label
    Friend WithEvents linklbGoods As System.Windows.Forms.LinkLabel
    Friend WithEvents lblGoodName As System.Windows.Forms.Label
    Friend WithEvents lblGoodId As System.Windows.Forms.Label
    Friend WithEvents lblRateValue As System.Windows.Forms.Label
    Friend WithEvents lblRateText As System.Windows.Forms.Label
    Friend WithEvents txbTax As System.Windows.Forms.TextBox
    Friend WithEvents txbWithoutTax As System.Windows.Forms.TextBox
    Friend WithEvents txbTotal As System.Windows.Forms.TextBox
    Friend WithEvents lblTax As System.Windows.Forms.Label
    Friend WithEvents lblWithoutTax As System.Windows.Forms.Label
    Friend WithEvents lblTotal As System.Windows.Forms.Label
    Friend WithEvents grbTax As System.Windows.Forms.GroupBox
    Friend WithEvents grbOrderList As System.Windows.Forms.GroupBox
    Friend WithEvents txbSupplyId As System.Windows.Forms.TextBox
    Friend WithEvents txbSupplyName As System.Windows.Forms.TextBox
    Friend WithEvents txbListMaker As System.Windows.Forms.TextBox
    Friend WithEvents txbOrderDate As System.Windows.Forms.TextBox
    Friend WithEvents lblSupplyName As System.Windows.Forms.Label
    Friend WithEvents linklbSupply As System.Windows.Forms.LinkLabel
    Friend WithEvents lblSupplyId As System.Windows.Forms.Label
    Friend WithEvents lblWorker As System.Windows.Forms.Label
    Friend WithEvents lblListMaker As System.Windows.Forms.Label
    Friend WithEvents lblOrderDate As System.Windows.Forms.Label
    Friend WithEvents btnDel As System.Windows.Forms.Button
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmOrderList))
        Me.cbbWorker = New System.Windows.Forms.ComboBox
        Me.ToolBar1 = New System.Windows.Forms.ToolBar
        Me.tbbSave = New System.Windows.Forms.ToolBarButton
        Me.tbbPrint = New System.Windows.Forms.ToolBarButton
        Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components)
        Me.grbOrderListDetail = New System.Windows.Forms.GroupBox
        Me.btnDel = New System.Windows.Forms.Button
        Me.btnSave = New System.Windows.Forms.Button
        Me.lblDepotId = New System.Windows.Forms.Label
        Me.cbbDepotId = New System.Windows.Forms.ComboBox
        Me.txbPrice = New System.Windows.Forms.TextBox
        Me.txbGoodsCount = New System.Windows.Forms.TextBox
        Me.txbGoodsUnit = New System.Windows.Forms.TextBox
        Me.txbGoodsName = New System.Windows.Forms.TextBox
        Me.txbGoodsId = New System.Windows.Forms.TextBox
        Me.lblGoodsPrice = New System.Windows.Forms.Label
        Me.lblGoodsCount = New System.Windows.Forms.Label
        Me.btnAdd = New System.Windows.Forms.Button
        Me.lblUnit = New System.Windows.Forms.Label
        Me.linklbGoods = New System.Windows.Forms.LinkLabel
        Me.lblGoodName = New System.Windows.Forms.Label
        Me.lblGoodId = New System.Windows.Forms.Label
        Me.dgdOrderList = New System.Windows.Forms.DataGrid
        Me.lblRateValue = New System.Windows.Forms.Label
        Me.lblRateText = New System.Windows.Forms.Label
        Me.txbTax = New System.Windows.Forms.TextBox
        Me.txbWithoutTax = New System.Windows.Forms.TextBox
        Me.txbTotal = New System.Windows.Forms.TextBox
        Me.lblTax = New System.Windows.Forms.Label
        Me.lblWithoutTax = New System.Windows.Forms.Label
        Me.lblTotal = New System.Windows.Forms.Label
        Me.grbTax = New System.Windows.Forms.GroupBox
        Me.grbOrderList = New System.Windows.Forms.GroupBox
        Me.txbSupplyId = New System.Windows.Forms.TextBox
        Me.txbSupplyName = New System.Windows.Forms.TextBox
        Me.txbListMaker = New System.Windows.Forms.TextBox
        Me.txbOrderDate = New System.Windows.Forms.TextBox
        Me.lblSupplyName = New System.Windows.Forms.Label
        Me.linklbSupply = New System.Windows.Forms.LinkLabel
        Me.lblSupplyId = New System.Windows.Forms.Label
        Me.lblWorker = New System.Windows.Forms.Label
        Me.lblListMaker = New System.Windows.Forms.Label
        Me.lblOrderDate = New System.Windows.Forms.Label
        Me.grbOrderListDetail.SuspendLayout()
        CType(Me.dgdOrderList, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.grbTax.SuspendLayout()
        Me.grbOrderList.SuspendLayout()
        Me.SuspendLayout()
        '
        'cbbWorker
        '
        Me.cbbWorker.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cbbWorker.Location = New System.Drawing.Point(388, 10)
        Me.cbbWorker.Name = "cbbWorker"
        Me.cbbWorker.Size = New System.Drawing.Size(56, 20)
        Me.cbbWorker.TabIndex = 5
        '
        'ToolBar1
        '
        Me.ToolBar1.Buttons.AddRange(New System.Windows.Forms.ToolBarButton() {Me.tbbSave, Me.tbbPrint})
        Me.ToolBar1.DropDownArrows = True
        Me.ToolBar1.ImageList = Me.ImageList1
        Me.ToolBar1.Location = New System.Drawing.Point(0, 0)
        Me.ToolBar1.Name = "ToolBar1"
        Me.ToolBar1.ShowToolTips = True
        Me.ToolBar1.Size = New System.Drawing.Size(656, 28)
        Me.ToolBar1.TabIndex = 41
        '
        'tbbSave
        '
        Me.tbbSave.ImageIndex = 0
        Me.tbbSave.ToolTipText = "保存进货单"
        '
        'tbbPrint
        '
        Me.tbbPrint.ImageIndex = 1
        Me.tbbPrint.ToolTipText = "打印"
        '
        '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
        '
        'grbOrderListDetail
        '
        Me.grbOrderListDetail.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.grbOrderListDetail.Controls.Add(Me.btnDel)
        Me.grbOrderListDetail.Controls.Add(Me.btnSave)
        Me.grbOrderListDetail.Controls.Add(Me.lblDepotId)
        Me.grbOrderListDetail.Controls.Add(Me.cbbDepotId)
        Me.grbOrderListDetail.Controls.Add(Me.txbPrice)
        Me.grbOrderListDetail.Controls.Add(Me.txbGoodsCount)
        Me.grbOrderListDetail.Controls.Add(Me.txbGoodsUnit)
        Me.grbOrderListDetail.Controls.Add(Me.txbGoodsName)
        Me.grbOrderListDetail.Controls.Add(Me.txbGoodsId)
        Me.grbOrderListDetail.Controls.Add(Me.lblGoodsPrice)
        Me.grbOrderListDetail.Controls.Add(Me.lblGoodsCount)
        Me.grbOrderListDetail.Controls.Add(Me.btnAdd)
        Me.grbOrderListDetail.Controls.Add(Me.lblUnit)
        Me.grbOrderListDetail.Controls.Add(Me.linklbGoods)
        Me.grbOrderListDetail.Controls.Add(Me.lblGoodName)
        Me.grbOrderListDetail.Controls.Add(Me.lblGoodId)
        Me.grbOrderListDetail.Location = New System.Drawing.Point(8, 96)
        Me.grbOrderListDetail.Name = "grbOrderListDetail"
        Me.grbOrderListDetail.Size = New System.Drawing.Size(640, 72)
        Me.grbOrderListDetail.TabIndex = 43
        Me.grbOrderListDetail.TabStop = False
        Me.grbOrderListDetail.Text = "进货单明细"
        '
        'btnDel
        '
        Me.btnDel.Location = New System.Drawing.Point(560, 40)
        Me.btnDel.Name = "btnDel"
        Me.btnDel.Size = New System.Drawing.Size(41, 23)
        Me.btnDel.TabIndex = 59
        Me.btnDel.Text = "删除"
        '
        'btnSave
        '
        Me.btnSave.Location = New System.Drawing.Point(504, 40)
        Me.btnSave.Name = "btnSave"
        Me.btnSave.Size = New System.Drawing.Size(41, 23)
        Me.btnSave.TabIndex = 58
        Me.btnSave.Text = "修改"
        '
        'lblDepotId
        '
        Me.lblDepotId.Location = New System.Drawing.Point(347, 48)
        Me.lblDepotId.Name = "lblDepotId"
        Me.lblDepotId.Size = New System.Drawing.Size(32, 16)
        Me.lblDepotId.TabIndex = 56
        Me.lblDepotId.Text = "仓库"
        '
        'cbbDepotId
        '
        Me.cbbDepotId.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cbbDepotId.Location = New System.Drawing.Point(379, 43)
        Me.cbbDepotId.Name = "cbbDepotId"
        Me.cbbDepotId.Size = New System.Drawing.Size(56, 20)
        Me.cbbDepotId.TabIndex = 55
        '
        'txbPrice
        '
        Me.txbPrice.Location = New System.Drawing.Point(241, 43)
        Me.txbPrice.Name = "txbPrice"
        Me.txbPrice.Size = New System.Drawing.Size(96, 21)
        Me.txbPrice.TabIndex = 54
        Me.txbPrice.Text = ""
        '
        'txbGoodsCount
        '
        Me.txbGoodsCount.Location = New System.Drawing.Point(78, 44)
        Me.txbGoodsCount.Name = "txbGoodsCount"
        Me.txbGoodsCount.Size = New System.Drawing.Size(96, 21)
        Me.txbGoodsCount.TabIndex = 52
        Me.txbGoodsCount.Text = ""
        '
        'txbGoodsUnit
        '
        Me.txbGoodsUnit.Location = New System.Drawing.Point(379, 16)
        Me.txbGoodsUnit.Name = "txbGoodsUnit"
        Me.txbGoodsUnit.ReadOnly = True
        Me.txbGoodsUnit.Size = New System.Drawing.Size(56, 21)
        Me.txbGoodsUnit.TabIndex = 49
        Me.txbGoodsUnit.Text = ""
        '
        'txbGoodsName
        '
        Me.txbGoodsName.Location = New System.Drawing.Point(241, 17)
        Me.txbGoodsName.Name = "txbGoodsName"
        Me.txbGoodsName.ReadOnly = True
        Me.txbGoodsName.Size = New System.Drawing.Size(96, 21)
        Me.txbGoodsName.TabIndex = 46
        Me.txbGoodsName.Text = ""
        '
        'txbGoodsId
        '
        Me.txbGoodsId.Location = New System.Drawing.Point(78, 17)
        Me.txbGoodsId.Name = "txbGoodsId"
        Me.txbGoodsId.Size = New System.Drawing.Size(96, 21)
        Me.txbGoodsId.TabIndex = 44
        Me.txbGoodsId.Text = ""
        '
        'lblGoodsPrice
        '
        Me.lblGoodsPrice.Location = New System.Drawing.Point(186, 50)
        Me.lblGoodsPrice.Name = "lblGoodsPrice"
        Me.lblGoodsPrice.Size = New System.Drawing.Size(57, 16)
        Me.lblGoodsPrice.TabIndex = 53
        Me.lblGoodsPrice.Text = "货物单价"
        '
        'lblGoodsCount
        '
        Me.lblGoodsCount.Location = New System.Drawing.Point(22, 50)
        Me.lblGoodsCount.Name = "lblGoodsCount"
        Me.lblGoodsCount.Size = New System.Drawing.Size(56, 16)
        Me.lblGoodsCount.TabIndex = 51
        Me.lblGoodsCount.Text = "进货数量"
        '
        'btnAdd
        '
        Me.btnAdd.Location = New System.Drawing.Point(448, 40)
        Me.btnAdd.Name = "btnAdd"
        Me.btnAdd.Size = New System.Drawing.Size(41, 23)
        Me.btnAdd.TabIndex = 50
        Me.btnAdd.Text = "添加"
        '
        'lblUnit
        '
        Me.lblUnit.Location = New System.Drawing.Point(348, 21)
        Me.lblUnit.Name = "lblUnit"
        Me.lblUnit.Size = New System.Drawing.Size(32, 16)
        Me.lblUnit.TabIndex = 48
        Me.lblUnit.Text = "单位"
        '
        'linklbGoods
        '
        Me.linklbGoods.Location = New System.Drawing.Point(445, 21)
        Me.linklbGoods.Name = "linklbGoods"
        Me.linklbGoods.Size = New System.Drawing.Size(32, 16)
        Me.linklbGoods.TabIndex = 47
        Me.linklbGoods.TabStop = True
        Me.linklbGoods.Text = "选择"
        '
        'lblGoodName
        '
        Me.lblGoodName.Location = New System.Drawing.Point(208, 21)
        Me.lblGoodName.Name = "lblGoodName"
        Me.lblGoodName.Size = New System.Drawing.Size(32, 16)
        Me.lblGoodName.TabIndex = 45
        Me.lblGoodName.Text = "品名"
        '
        'lblGoodId
        '
        Me.lblGoodId.Location = New System.Drawing.Point(44, 21)
        Me.lblGoodId.Name = "lblGoodId"
        Me.lblGoodId.Size = New System.Drawing.Size(32, 16)
        Me.lblGoodId.TabIndex = 43
        Me.lblGoodId.Text = "货号"
        '
        'dgdOrderList
        '
        Me.dgdOrderList.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
                    Or System.Windows.Forms.AnchorStyles.Left) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.dgdOrderList.CaptionVisible = False

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -