📄 frminput.vb
字号:
Imports System.Data
Imports System.Data.SqlClient
Imports System.DateTime
Public Class frmInput
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 GBLog As System.Windows.Forms.GroupBox
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents txtDay As System.Windows.Forms.TextBox
Friend WithEvents txtMonth As System.Windows.Forms.TextBox
Friend WithEvents txtYear As System.Windows.Forms.TextBox
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label10 As System.Windows.Forms.Label
Friend WithEvents Label11 As System.Windows.Forms.Label
Friend WithEvents Label12 As System.Windows.Forms.Label
Friend WithEvents Label13 As System.Windows.Forms.Label
Friend WithEvents Label14 As System.Windows.Forms.Label
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents Label16 As System.Windows.Forms.Label
Friend WithEvents Label17 As System.Windows.Forms.Label
Friend WithEvents Label18 As System.Windows.Forms.Label
Friend WithEvents Label19 As System.Windows.Forms.Label
Friend WithEvents cobProduct As System.Windows.Forms.ComboBox
Friend WithEvents cobFactory As System.Windows.Forms.ComboBox
Friend WithEvents txtCount As System.Windows.Forms.TextBox
Friend WithEvents txtPrice As System.Windows.Forms.TextBox
Friend WithEvents txtInputId As System.Windows.Forms.TextBox
Friend WithEvents bunInputUpdate As System.Windows.Forms.Button
Friend WithEvents bunLogCancel As System.Windows.Forms.Button
Friend WithEvents bunAddLog As System.Windows.Forms.Button
Friend WithEvents txtPModel As System.Windows.Forms.TextBox
Friend WithEvents txtPId As System.Windows.Forms.TextBox
Friend WithEvents txtPName As System.Windows.Forms.TextBox
Friend WithEvents cobPFactory As System.Windows.Forms.ComboBox
Friend WithEvents bunAddProduct As System.Windows.Forms.Button
Friend WithEvents bunAddProductCancel As System.Windows.Forms.Button
Friend WithEvents bunProductUpdate As System.Windows.Forms.Button
Friend WithEvents bunAddFactory As System.Windows.Forms.Button
Friend WithEvents bunAddFactoryCancel As System.Windows.Forms.Button
Friend WithEvents bunFactoryUpdate As System.Windows.Forms.Button
Friend WithEvents txtFId As System.Windows.Forms.TextBox
Friend WithEvents txtFName As System.Windows.Forms.TextBox
Friend WithEvents txtFManager As System.Windows.Forms.TextBox
Friend WithEvents txtFPhone As System.Windows.Forms.TextBox
Friend WithEvents txtFAddr As System.Windows.Forms.TextBox
Friend WithEvents GBAddProduct As System.Windows.Forms.GroupBox
Friend WithEvents GBAddFactory As System.Windows.Forms.GroupBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.GBLog = New System.Windows.Forms.GroupBox
Me.cobProduct = New System.Windows.Forms.ComboBox
Me.cobFactory = New System.Windows.Forms.ComboBox
Me.txtCount = New System.Windows.Forms.TextBox
Me.txtPrice = New System.Windows.Forms.TextBox
Me.txtInputId = New System.Windows.Forms.TextBox
Me.bunInputUpdate = New System.Windows.Forms.Button
Me.bunLogCancel = New System.Windows.Forms.Button
Me.bunAddLog = New System.Windows.Forms.Button
Me.txtDay = New System.Windows.Forms.TextBox
Me.txtMonth = New System.Windows.Forms.TextBox
Me.txtYear = New System.Windows.Forms.TextBox
Me.Label6 = New System.Windows.Forms.Label
Me.Label7 = New System.Windows.Forms.Label
Me.Label9 = New System.Windows.Forms.Label
Me.Label10 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.GBAddProduct = New System.Windows.Forms.GroupBox
Me.txtPModel = New System.Windows.Forms.TextBox
Me.Label14 = New System.Windows.Forms.Label
Me.Label13 = New System.Windows.Forms.Label
Me.Label12 = New System.Windows.Forms.Label
Me.Label11 = New System.Windows.Forms.Label
Me.txtPId = New System.Windows.Forms.TextBox
Me.txtPName = New System.Windows.Forms.TextBox
Me.cobPFactory = New System.Windows.Forms.ComboBox
Me.bunAddProduct = New System.Windows.Forms.Button
Me.bunAddProductCancel = New System.Windows.Forms.Button
Me.bunProductUpdate = New System.Windows.Forms.Button
Me.GBAddFactory = New System.Windows.Forms.GroupBox
Me.txtFAddr = New System.Windows.Forms.TextBox
Me.txtFPhone = New System.Windows.Forms.TextBox
Me.txtFManager = New System.Windows.Forms.TextBox
Me.Label19 = New System.Windows.Forms.Label
Me.Label18 = New System.Windows.Forms.Label
Me.Label15 = New System.Windows.Forms.Label
Me.Label16 = New System.Windows.Forms.Label
Me.Label17 = New System.Windows.Forms.Label
Me.bunFactoryUpdate = New System.Windows.Forms.Button
Me.bunAddFactoryCancel = New System.Windows.Forms.Button
Me.bunAddFactory = New System.Windows.Forms.Button
Me.txtFId = New System.Windows.Forms.TextBox
Me.txtFName = New System.Windows.Forms.TextBox
Me.Label8 = New System.Windows.Forms.Label
Me.GBLog.SuspendLayout()
Me.GBAddProduct.SuspendLayout()
Me.GBAddFactory.SuspendLayout()
Me.SuspendLayout()
'
'GBLog
'
Me.GBLog.Controls.Add(Me.cobProduct)
Me.GBLog.Controls.Add(Me.cobFactory)
Me.GBLog.Controls.Add(Me.txtCount)
Me.GBLog.Controls.Add(Me.txtPrice)
Me.GBLog.Controls.Add(Me.txtInputId)
Me.GBLog.Controls.Add(Me.bunInputUpdate)
Me.GBLog.Controls.Add(Me.bunLogCancel)
Me.GBLog.Controls.Add(Me.bunAddLog)
Me.GBLog.Controls.Add(Me.txtDay)
Me.GBLog.Controls.Add(Me.txtMonth)
Me.GBLog.Controls.Add(Me.txtYear)
Me.GBLog.Controls.Add(Me.Label6)
Me.GBLog.Controls.Add(Me.Label7)
Me.GBLog.Controls.Add(Me.Label9)
Me.GBLog.Controls.Add(Me.Label10)
Me.GBLog.Controls.Add(Me.Label5)
Me.GBLog.Controls.Add(Me.Label4)
Me.GBLog.Controls.Add(Me.Label3)
Me.GBLog.Controls.Add(Me.Label1)
Me.GBLog.Controls.Add(Me.Label2)
Me.GBLog.Location = New System.Drawing.Point(16, 24)
Me.GBLog.Name = "GBLog"
Me.GBLog.Size = New System.Drawing.Size(552, 192)
Me.GBLog.TabIndex = 0
Me.GBLog.TabStop = False
Me.GBLog.Text = "进货登记"
'
'cobProduct
'
Me.cobProduct.Location = New System.Drawing.Point(136, 48)
Me.cobProduct.Name = "cobProduct"
Me.cobProduct.Size = New System.Drawing.Size(400, 20)
Me.cobProduct.TabIndex = 98
'
'cobFactory
'
Me.cobFactory.Location = New System.Drawing.Point(328, 17)
Me.cobFactory.Name = "cobFactory"
Me.cobFactory.Size = New System.Drawing.Size(208, 20)
Me.cobFactory.TabIndex = 97
'
'txtCount
'
Me.txtCount.BackColor = System.Drawing.SystemColors.Window
Me.txtCount.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtCount.Location = New System.Drawing.Point(328, 80)
Me.txtCount.Name = "txtCount"
Me.txtCount.Size = New System.Drawing.Size(208, 21)
Me.txtCount.TabIndex = 96
Me.txtCount.Text = ""
'
'txtPrice
'
Me.txtPrice.BackColor = System.Drawing.SystemColors.Window
Me.txtPrice.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtPrice.Location = New System.Drawing.Point(72, 80)
Me.txtPrice.Name = "txtPrice"
Me.txtPrice.Size = New System.Drawing.Size(168, 21)
Me.txtPrice.TabIndex = 95
Me.txtPrice.Text = ""
'
'txtInputId
'
Me.txtInputId.BackColor = System.Drawing.SystemColors.Window
Me.txtInputId.Enabled = False
Me.txtInputId.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtInputId.Location = New System.Drawing.Point(72, 16)
Me.txtInputId.Name = "txtInputId"
Me.txtInputId.Size = New System.Drawing.Size(168, 21)
Me.txtInputId.TabIndex = 94
Me.txtInputId.Text = ""
'
'bunInputUpdate
'
Me.bunInputUpdate.Location = New System.Drawing.Point(448, 152)
Me.bunInputUpdate.Name = "bunInputUpdate"
Me.bunInputUpdate.Size = New System.Drawing.Size(88, 24)
Me.bunInputUpdate.TabIndex = 93
Me.bunInputUpdate.Text = "更新到数据库"
'
'bunLogCancel
'
Me.bunLogCancel.Location = New System.Drawing.Point(392, 152)
Me.bunLogCancel.Name = "bunLogCancel"
Me.bunLogCancel.Size = New System.Drawing.Size(40, 24)
Me.bunLogCancel.TabIndex = 91
Me.bunLogCancel.Text = "取消"
'
'bunAddLog
'
Me.bunAddLog.Location = New System.Drawing.Point(336, 152)
Me.bunAddLog.Name = "bunAddLog"
Me.bunAddLog.Size = New System.Drawing.Size(40, 24)
Me.bunAddLog.TabIndex = 90
Me.bunAddLog.Text = "添加"
'
'txtDay
'
Me.txtDay.BackColor = System.Drawing.SystemColors.Window
Me.txtDay.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtDay.Location = New System.Drawing.Point(272, 112)
Me.txtDay.Name = "txtDay"
Me.txtDay.Size = New System.Drawing.Size(40, 21)
Me.txtDay.TabIndex = 84
Me.txtDay.Text = ""
'
'txtMonth
'
Me.txtMonth.BackColor = System.Drawing.SystemColors.Window
Me.txtMonth.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtMonth.Location = New System.Drawing.Point(216, 112)
Me.txtMonth.Name = "txtMonth"
Me.txtMonth.Size = New System.Drawing.Size(40, 21)
Me.txtMonth.TabIndex = 83
Me.txtMonth.Text = ""
'
'txtYear
'
Me.txtYear.BackColor = System.Drawing.SystemColors.Window
Me.txtYear.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtYear.Location = New System.Drawing.Point(104, 112)
Me.txtYear.Name = "txtYear"
Me.txtYear.Size = New System.Drawing.Size(88, 21)
Me.txtYear.TabIndex = 79
Me.txtYear.Text = ""
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(312, 120)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(16, 16)
Me.Label6.TabIndex = 82
Me.Label6.Text = "日"
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(256, 120)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(16, 16)
Me.Label7.TabIndex = 81
Me.Label7.Text = "月"
'
'Label9
'
Me.Label9.Location = New System.Drawing.Point(200, 120)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(16, 16)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -