📄 frmstoretable.vb
字号:
Imports System.Data
Imports System.Data.SqlClient
Public Class frmStoreTable
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 bunPrevious As System.Windows.Forms.Button
Friend WithEvents bunDelete As System.Windows.Forms.Button
Friend WithEvents bunSave As System.Windows.Forms.Button
Friend WithEvents bunSearch As System.Windows.Forms.Button
Friend WithEvents bunAdd As System.Windows.Forms.Button
Friend WithEvents bunUpdate As System.Windows.Forms.Button
Friend WithEvents bunNext As System.Windows.Forms.Button
Friend WithEvents bunCancel As System.Windows.Forms.Button
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents txtSCount As System.Windows.Forms.TextBox
Friend WithEvents txtSPrice As System.Windows.Forms.TextBox
Friend WithEvents txtPId As System.Windows.Forms.TextBox
Friend WithEvents txtSId As System.Windows.Forms.TextBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.bunPrevious = New System.Windows.Forms.Button
Me.bunDelete = New System.Windows.Forms.Button
Me.bunSave = New System.Windows.Forms.Button
Me.bunSearch = New System.Windows.Forms.Button
Me.bunAdd = New System.Windows.Forms.Button
Me.bunUpdate = New System.Windows.Forms.Button
Me.bunNext = New System.Windows.Forms.Button
Me.bunCancel = New System.Windows.Forms.Button
Me.Label9 = New System.Windows.Forms.Label
Me.txtSCount = New System.Windows.Forms.TextBox
Me.txtSPrice = New System.Windows.Forms.TextBox
Me.txtPId = New System.Windows.Forms.TextBox
Me.txtSId = New System.Windows.Forms.TextBox
Me.Label3 = New System.Windows.Forms.Label
Me.Label7 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.SuspendLayout()
'
'bunPrevious
'
Me.bunPrevious.Location = New System.Drawing.Point(8, 152)
Me.bunPrevious.Name = "bunPrevious"
Me.bunPrevious.Size = New System.Drawing.Size(32, 24)
Me.bunPrevious.TabIndex = 110
Me.bunPrevious.Text = "<<"
'
'bunDelete
'
Me.bunDelete.Location = New System.Drawing.Point(96, 152)
Me.bunDelete.Name = "bunDelete"
Me.bunDelete.Size = New System.Drawing.Size(40, 24)
Me.bunDelete.TabIndex = 112
Me.bunDelete.Text = "删除"
'
'bunSave
'
Me.bunSave.Location = New System.Drawing.Point(192, 152)
Me.bunSave.Name = "bunSave"
Me.bunSave.Size = New System.Drawing.Size(40, 24)
Me.bunSave.TabIndex = 114
Me.bunSave.Text = "保存"
'
'bunSearch
'
Me.bunSearch.Location = New System.Drawing.Point(144, 152)
Me.bunSearch.Name = "bunSearch"
Me.bunSearch.Size = New System.Drawing.Size(40, 24)
Me.bunSearch.TabIndex = 113
Me.bunSearch.Text = "搜索"
'
'bunAdd
'
Me.bunAdd.Location = New System.Drawing.Point(48, 152)
Me.bunAdd.Name = "bunAdd"
Me.bunAdd.Size = New System.Drawing.Size(40, 24)
Me.bunAdd.TabIndex = 111
Me.bunAdd.Text = "添加"
'
'bunUpdate
'
Me.bunUpdate.Location = New System.Drawing.Point(336, 152)
Me.bunUpdate.Name = "bunUpdate"
Me.bunUpdate.Size = New System.Drawing.Size(88, 24)
Me.bunUpdate.TabIndex = 117
Me.bunUpdate.Text = "更新到数据库"
'
'bunNext
'
Me.bunNext.Location = New System.Drawing.Point(288, 152)
Me.bunNext.Name = "bunNext"
Me.bunNext.Size = New System.Drawing.Size(32, 24)
Me.bunNext.TabIndex = 116
Me.bunNext.Text = ">>"
'
'bunCancel
'
Me.bunCancel.Location = New System.Drawing.Point(240, 152)
Me.bunCancel.Name = "bunCancel"
Me.bunCancel.Size = New System.Drawing.Size(40, 24)
Me.bunCancel.TabIndex = 115
Me.bunCancel.Text = "取消"
'
'Label9
'
Me.Label9.ForeColor = System.Drawing.Color.Red
Me.Label9.Location = New System.Drawing.Point(264, 16)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(400, 24)
Me.Label9.TabIndex = 109
Me.Label9.Text = "前面带※的必须填写!"
'
'txtSCount
'
Me.txtSCount.BackColor = System.Drawing.SystemColors.Window
Me.txtSCount.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtSCount.Location = New System.Drawing.Point(104, 112)
Me.txtSCount.Name = "txtSCount"
Me.txtSCount.Size = New System.Drawing.Size(136, 21)
Me.txtSCount.TabIndex = 108
Me.txtSCount.Text = ""
'
'txtSPrice
'
Me.txtSPrice.BackColor = System.Drawing.SystemColors.Window
Me.txtSPrice.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtSPrice.Location = New System.Drawing.Point(104, 80)
Me.txtSPrice.Name = "txtSPrice"
Me.txtSPrice.Size = New System.Drawing.Size(136, 21)
Me.txtSPrice.TabIndex = 107
Me.txtSPrice.Text = ""
'
'txtPId
'
Me.txtPId.BackColor = System.Drawing.SystemColors.Window
Me.txtPId.Enabled = False
Me.txtPId.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtPId.Location = New System.Drawing.Point(104, 48)
Me.txtPId.Name = "txtPId"
Me.txtPId.Size = New System.Drawing.Size(136, 21)
Me.txtPId.TabIndex = 106
Me.txtPId.Text = ""
'
'txtSId
'
Me.txtSId.BackColor = System.Drawing.SystemColors.Window
Me.txtSId.Enabled = False
Me.txtSId.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtSId.Location = New System.Drawing.Point(104, 16)
Me.txtSId.Name = "txtSId"
Me.txtSId.Size = New System.Drawing.Size(136, 21)
Me.txtSId.TabIndex = 105
Me.txtSId.Text = ""
'
'Label3
'
Me.Label3.ForeColor = System.Drawing.Color.Red
Me.Label3.Location = New System.Drawing.Point(16, 120)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(80, 24)
Me.Label3.TabIndex = 104
Me.Label3.Text = "※库 存 量:"
'
'Label7
'
Me.Label7.ForeColor = System.Drawing.Color.Red
Me.Label7.Location = New System.Drawing.Point(16, 88)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(80, 24)
Me.Label7.TabIndex = 103
Me.Label7.Text = "※进 价:"
'
'Label5
'
Me.Label5.ForeColor = System.Drawing.Color.Red
Me.Label5.Location = New System.Drawing.Point(16, 56)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -