📄 frmretreat.vb
字号:
Imports System.Data
Imports System.Data.SqlClient
Public Class frmRetreat
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 Label2 As System.Windows.Forms.Label
Friend WithEvents Label6 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 Label8 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 Label1 As System.Windows.Forms.Label
Friend WithEvents txtRId As System.Windows.Forms.TextBox
Friend WithEvents bunAddRetreatCanel As System.Windows.Forms.Button
Friend WithEvents bunUpdate As System.Windows.Forms.Button
Friend WithEvents bunAddRetreat As System.Windows.Forms.Button
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents txtOCount As System.Windows.Forms.TextBox
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents txtOId As System.Windows.Forms.TextBox
Friend WithEvents Label14 As System.Windows.Forms.Label
Friend WithEvents txtCName As System.Windows.Forms.TextBox
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents txtProduct As System.Windows.Forms.TextBox
Friend WithEvents txtRCount As System.Windows.Forms.TextBox
Friend WithEvents txtODay As System.Windows.Forms.TextBox
Friend WithEvents txtOMonth As System.Windows.Forms.TextBox
Friend WithEvents txtOYear As System.Windows.Forms.TextBox
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label12 As System.Windows.Forms.Label
Friend WithEvents Label13 As System.Windows.Forms.Label
Friend WithEvents bunSearch As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.Label2 = New System.Windows.Forms.Label
Me.txtRId = New System.Windows.Forms.TextBox
Me.txtOCount = New System.Windows.Forms.TextBox
Me.Label6 = New System.Windows.Forms.Label
Me.txtDay = New System.Windows.Forms.TextBox
Me.txtMonth = New System.Windows.Forms.TextBox
Me.txtYear = New System.Windows.Forms.TextBox
Me.Label8 = New System.Windows.Forms.Label
Me.Label9 = New System.Windows.Forms.Label
Me.Label10 = New System.Windows.Forms.Label
Me.Label11 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.bunAddRetreatCanel = New System.Windows.Forms.Button
Me.bunUpdate = New System.Windows.Forms.Button
Me.bunAddRetreat = New System.Windows.Forms.Button
Me.Label3 = New System.Windows.Forms.Label
Me.txtProduct = New System.Windows.Forms.TextBox
Me.Label4 = New System.Windows.Forms.Label
Me.txtRCount = New System.Windows.Forms.TextBox
Me.Label5 = New System.Windows.Forms.Label
Me.txtOId = New System.Windows.Forms.TextBox
Me.Label14 = New System.Windows.Forms.Label
Me.txtCName = New System.Windows.Forms.TextBox
Me.Label15 = New System.Windows.Forms.Label
Me.txtODay = New System.Windows.Forms.TextBox
Me.txtOMonth = New System.Windows.Forms.TextBox
Me.txtOYear = New System.Windows.Forms.TextBox
Me.Label7 = New System.Windows.Forms.Label
Me.Label12 = New System.Windows.Forms.Label
Me.Label13 = New System.Windows.Forms.Label
Me.bunSearch = New System.Windows.Forms.Button
Me.SuspendLayout()
'
'Label2
'
Me.Label2.ForeColor = System.Drawing.Color.Red
Me.Label2.Location = New System.Drawing.Point(24, 16)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(144, 24)
Me.Label2.TabIndex = 123
Me.Label2.Text = "※退货编号:"
'
'txtRId
'
Me.txtRId.BackColor = System.Drawing.SystemColors.Window
Me.txtRId.Enabled = False
Me.txtRId.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtRId.Location = New System.Drawing.Point(96, 8)
Me.txtRId.Name = "txtRId"
Me.txtRId.Size = New System.Drawing.Size(184, 21)
Me.txtRId.TabIndex = 124
Me.txtRId.Text = ""
'
'txtOCount
'
Me.txtOCount.BackColor = System.Drawing.SystemColors.Window
Me.txtOCount.Enabled = False
Me.txtOCount.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtOCount.Location = New System.Drawing.Point(96, 104)
Me.txtOCount.Name = "txtOCount"
Me.txtOCount.Size = New System.Drawing.Size(184, 21)
Me.txtOCount.TabIndex = 126
Me.txtOCount.Text = ""
'
'Label6
'
Me.Label6.ForeColor = System.Drawing.Color.Red
Me.Label6.Location = New System.Drawing.Point(24, 112)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(80, 24)
Me.Label6.TabIndex = 125
Me.Label6.Text = "※销售数量:"
'
'txtDay
'
Me.txtDay.BackColor = System.Drawing.SystemColors.Window
Me.txtDay.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtDay.Location = New System.Drawing.Point(496, 8)
Me.txtDay.Name = "txtDay"
Me.txtDay.Size = New System.Drawing.Size(40, 21)
Me.txtDay.TabIndex = 133
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(440, 8)
Me.txtMonth.Name = "txtMonth"
Me.txtMonth.Size = New System.Drawing.Size(40, 21)
Me.txtMonth.TabIndex = 132
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(360, 8)
Me.txtYear.Name = "txtYear"
Me.txtYear.Size = New System.Drawing.Size(64, 21)
Me.txtYear.TabIndex = 128
Me.txtYear.Text = ""
'
'Label8
'
Me.Label8.Location = New System.Drawing.Point(536, 16)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(16, 16)
Me.Label8.TabIndex = 131
Me.Label8.Text = "日"
'
'Label9
'
Me.Label9.Location = New System.Drawing.Point(480, 16)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(16, 16)
Me.Label9.TabIndex = 130
Me.Label9.Text = "月"
'
'Label10
'
Me.Label10.Location = New System.Drawing.Point(424, 16)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(16, 16)
Me.Label10.TabIndex = 129
Me.Label10.Text = "年"
'
'Label11
'
Me.Label11.ForeColor = System.Drawing.Color.Red
Me.Label11.Location = New System.Drawing.Point(288, 16)
Me.Label11.Name = "Label11"
Me.Label11.Size = New System.Drawing.Size(80, 24)
Me.Label11.TabIndex = 127
Me.Label11.Text = "※退货日期:"
'
'Label1
'
Me.Label1.ForeColor = System.Drawing.Color.Red
Me.Label1.Location = New System.Drawing.Point(24, 136)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(400, 24)
Me.Label1.TabIndex = 134
Me.Label1.Text = "前面带※的必须填写!"
'
'bunAddRetreatCanel
'
Me.bunAddRetreatCanel.Location = New System.Drawing.Point(400, 168)
Me.bunAddRetreatCanel.Name = "bunAddRetreatCanel"
Me.bunAddRetreatCanel.Size = New System.Drawing.Size(40, 24)
Me.bunAddRetreatCanel.TabIndex = 136
Me.bunAddRetreatCanel.Text = "取消"
'
'bunUpdate
'
Me.bunUpdate.Location = New System.Drawing.Point(456, 168)
Me.bunUpdate.Name = "bunUpdate"
Me.bunUpdate.Size = New System.Drawing.Size(88, 24)
Me.bunUpdate.TabIndex = 137
Me.bunUpdate.Text = "更新到数据库"
'
'bunAddRetreat
'
Me.bunAddRetreat.Location = New System.Drawing.Point(344, 168)
Me.bunAddRetreat.Name = "bunAddRetreat"
Me.bunAddRetreat.Size = New System.Drawing.Size(40, 24)
Me.bunAddRetreat.TabIndex = 135
Me.bunAddRetreat.Text = "添加"
'
'Label3
'
Me.Label3.ForeColor = System.Drawing.Color.Red
Me.Label3.Location = New System.Drawing.Point(288, 80)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(80, 24)
Me.Label3.TabIndex = 138
Me.Label3.Text = "※商 品:"
'
'txtProduct
'
Me.txtProduct.BackColor = System.Drawing.SystemColors.Window
Me.txtProduct.Enabled = False
Me.txtProduct.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtProduct.Location = New System.Drawing.Point(360, 72)
Me.txtProduct.Name = "txtProduct"
Me.txtProduct.Size = New System.Drawing.Size(184, 21)
Me.txtProduct.TabIndex = 139
Me.txtProduct.Text = ""
'
'Label4
'
Me.Label4.ForeColor = System.Drawing.Color.Red
Me.Label4.Location = New System.Drawing.Point(288, 112)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(88, 24)
Me.Label4.TabIndex = 140
Me.Label4.Text = "※退货数量:"
'
'txtRCount
'
Me.txtRCount.BackColor = System.Drawing.SystemColors.Window
Me.txtRCount.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtRCount.Location = New System.Drawing.Point(360, 104)
Me.txtRCount.Name = "txtRCount"
Me.txtRCount.Size = New System.Drawing.Size(184, 21)
Me.txtRCount.TabIndex = 141
Me.txtRCount.Text = ""
'
'Label5
'
Me.Label5.ForeColor = System.Drawing.Color.Red
Me.Label5.Location = New System.Drawing.Point(24, 48)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(88, 24)
Me.Label5.TabIndex = 142
Me.Label5.Text = "※销售编号:"
'
'txtOId
'
Me.txtOId.BackColor = System.Drawing.SystemColors.Window
Me.txtOId.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtOId.Location = New System.Drawing.Point(96, 40)
Me.txtOId.Name = "txtOId"
Me.txtOId.Size = New System.Drawing.Size(184, 21)
Me.txtOId.TabIndex = 143
Me.txtOId.Text = ""
'
'Label14
'
Me.Label14.ForeColor = System.Drawing.Color.Red
Me.Label14.Location = New System.Drawing.Point(288, 48)
Me.Label14.Name = "Label14"
Me.Label14.Size = New System.Drawing.Size(80, 24)
Me.Label14.TabIndex = 144
Me.Label14.Text = "※销售日期:"
'
'txtCName
'
Me.txtCName.BackColor = System.Drawing.SystemColors.Window
Me.txtCName.Enabled = False
Me.txtCName.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtCName.Location = New System.Drawing.Point(96, 72)
Me.txtCName.Name = "txtCName"
Me.txtCName.Size = New System.Drawing.Size(184, 21)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -