📄 inform.vb
字号:
Imports System.Data.SqlClient
Public Class InForm
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 GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents dgIn As System.Windows.Forms.DataGrid
Friend WithEvents DataGridTableStyle1 As System.Windows.Forms.DataGridTableStyle
Friend WithEvents DataGridTextBoxColumn1 As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents DataGridTextBoxColumn2 As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents DataGridTextBoxColumn3 As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents DataGridTextBoxColumn4 As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents DataGridTextBoxColumn5 As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents DataGridTextBoxColumn6 As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents tbHandler As System.Windows.Forms.TextBox
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents lbNo As System.Windows.Forms.Label
Friend WithEvents btBack As System.Windows.Forms.Button
Friend WithEvents btCancel As System.Windows.Forms.Button
Friend WithEvents btOK As System.Windows.Forms.Button
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents rbMod As System.Windows.Forms.RadioButton
Friend WithEvents rbAdd As System.Windows.Forms.RadioButton
Friend WithEvents cmIn As System.Windows.Forms.ContextMenu
Friend WithEvents eItemMod As System.Windows.Forms.MenuItem
Friend WithEvents ToolTip1 As System.Windows.Forms.ToolTip
Friend WithEvents tbDate As System.Windows.Forms.TextBox
Friend WithEvents dtPicker As System.Windows.Forms.DateTimePicker
Friend WithEvents cbGoods As System.Windows.Forms.ComboBox
Friend WithEvents tbRemark As System.Windows.Forms.TextBox
Friend WithEvents tbCount As System.Windows.Forms.TextBox
Friend WithEvents Label6 As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Me.dgIn = New System.Windows.Forms.DataGrid
Me.cmIn = New System.Windows.Forms.ContextMenu
Me.eItemMod = New System.Windows.Forms.MenuItem
Me.DataGridTableStyle1 = New System.Windows.Forms.DataGridTableStyle
Me.DataGridTextBoxColumn1 = New System.Windows.Forms.DataGridTextBoxColumn
Me.DataGridTextBoxColumn2 = New System.Windows.Forms.DataGridTextBoxColumn
Me.DataGridTextBoxColumn3 = New System.Windows.Forms.DataGridTextBoxColumn
Me.DataGridTextBoxColumn4 = New System.Windows.Forms.DataGridTextBoxColumn
Me.DataGridTextBoxColumn5 = New System.Windows.Forms.DataGridTextBoxColumn
Me.DataGridTextBoxColumn6 = New System.Windows.Forms.DataGridTextBoxColumn
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.tbCount = New System.Windows.Forms.TextBox
Me.Label6 = New System.Windows.Forms.Label
Me.btBack = New System.Windows.Forms.Button
Me.btCancel = New System.Windows.Forms.Button
Me.btOK = New System.Windows.Forms.Button
Me.lbNo = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.tbRemark = New System.Windows.Forms.TextBox
Me.tbHandler = New System.Windows.Forms.TextBox
Me.Label3 = New System.Windows.Forms.Label
Me.cbGoods = New System.Windows.Forms.ComboBox
Me.Label2 = New System.Windows.Forms.Label
Me.dtPicker = New System.Windows.Forms.DateTimePicker
Me.tbDate = New System.Windows.Forms.TextBox
Me.Label1 = New System.Windows.Forms.Label
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.rbMod = New System.Windows.Forms.RadioButton
Me.rbAdd = New System.Windows.Forms.RadioButton
Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
CType(Me.dgIn, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GroupBox1.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.SuspendLayout()
'
'dgIn
'
Me.dgIn.ContextMenu = Me.cmIn
Me.dgIn.DataMember = ""
Me.dgIn.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.dgIn.Location = New System.Drawing.Point(10, 10)
Me.dgIn.Name = "dgIn"
Me.dgIn.Size = New System.Drawing.Size(478, 262)
Me.dgIn.TabIndex = 0
Me.dgIn.TableStyles.AddRange(New System.Windows.Forms.DataGridTableStyle() {Me.DataGridTableStyle1})
Me.ToolTip1.SetToolTip(Me.dgIn, "选中一行,右键修改就可以取得当前行数据")
'
'cmIn
'
Me.cmIn.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.eItemMod})
'
'eItemMod
'
Me.eItemMod.Index = 0
Me.eItemMod.Text = "修改"
'
'DataGridTableStyle1
'
Me.DataGridTableStyle1.DataGrid = Me.dgIn
Me.DataGridTableStyle1.GridColumnStyles.AddRange(New System.Windows.Forms.DataGridColumnStyle() {Me.DataGridTextBoxColumn1, Me.DataGridTextBoxColumn2, Me.DataGridTextBoxColumn3, Me.DataGridTextBoxColumn4, Me.DataGridTextBoxColumn5, Me.DataGridTextBoxColumn6})
Me.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.DataGridTableStyle1.MappingName = ""
'
'DataGridTextBoxColumn1
'
Me.DataGridTextBoxColumn1.Format = ""
Me.DataGridTextBoxColumn1.FormatInfo = Nothing
Me.DataGridTextBoxColumn1.HeaderText = "编号"
Me.DataGridTextBoxColumn1.MappingName = "INNO"
Me.DataGridTextBoxColumn1.Width = 50
'
'DataGridTextBoxColumn2
'
Me.DataGridTextBoxColumn2.Format = ""
Me.DataGridTextBoxColumn2.FormatInfo = Nothing
Me.DataGridTextBoxColumn2.HeaderText = "日期"
Me.DataGridTextBoxColumn2.MappingName = "INDATE"
Me.DataGridTextBoxColumn2.Width = 75
'
'DataGridTextBoxColumn3
'
Me.DataGridTextBoxColumn3.Format = ""
Me.DataGridTextBoxColumn3.FormatInfo = Nothing
Me.DataGridTextBoxColumn3.HeaderText = "商品"
Me.DataGridTextBoxColumn3.MappingName = "CATEGORYNAME"
Me.DataGridTextBoxColumn3.Width = 75
'
'DataGridTextBoxColumn4
'
Me.DataGridTextBoxColumn4.Format = ""
Me.DataGridTextBoxColumn4.FormatInfo = Nothing
Me.DataGridTextBoxColumn4.HeaderText = "数量"
Me.DataGridTextBoxColumn4.MappingName = "INCOUNT"
Me.DataGridTextBoxColumn4.Width = 75
'
'DataGridTextBoxColumn5
'
Me.DataGridTextBoxColumn5.Format = ""
Me.DataGridTextBoxColumn5.FormatInfo = Nothing
Me.DataGridTextBoxColumn5.HeaderText = "经手人"
Me.DataGridTextBoxColumn5.MappingName = "USERNAME"
Me.DataGridTextBoxColumn5.Width = 75
'
'DataGridTextBoxColumn6
'
Me.DataGridTextBoxColumn6.Format = ""
Me.DataGridTextBoxColumn6.FormatInfo = Nothing
Me.DataGridTextBoxColumn6.HeaderText = "备注"
Me.DataGridTextBoxColumn6.MappingName = "REMARK"
Me.DataGridTextBoxColumn6.Width = 75
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.tbCount)
Me.GroupBox1.Controls.Add(Me.Label6)
Me.GroupBox1.Controls.Add(Me.btBack)
Me.GroupBox1.Controls.Add(Me.btCancel)
Me.GroupBox1.Controls.Add(Me.btOK)
Me.GroupBox1.Controls.Add(Me.lbNo)
Me.GroupBox1.Controls.Add(Me.Label5)
Me.GroupBox1.Controls.Add(Me.Label4)
Me.GroupBox1.Controls.Add(Me.tbRemark)
Me.GroupBox1.Controls.Add(Me.tbHandler)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.cbGoods)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.dtPicker)
Me.GroupBox1.Controls.Add(Me.tbDate)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.GroupBox2)
Me.GroupBox1.Location = New System.Drawing.Point(8, 272)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(480, 96)
Me.GroupBox1.TabIndex = 1
Me.GroupBox1.TabStop = False
'
'tbCount
'
Me.tbCount.Location = New System.Drawing.Point(232, 40)
Me.tbCount.Name = "tbCount"
Me.tbCount.Size = New System.Drawing.Size(48, 21)
Me.tbCount.TabIndex = 23
Me.tbCount.Text = ""
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(232, 16)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(56, 23)
Me.Label6.TabIndex = 22
Me.Label6.Text = "数量"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'btBack
'
Me.btBack.Location = New System.Drawing.Point(376, 64)
Me.btBack.Name = "btBack"
Me.btBack.Size = New System.Drawing.Size(40, 23)
Me.btBack.TabIndex = 20
Me.btBack.Text = "还原"
'
'btCancel
'
Me.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.btCancel.Location = New System.Drawing.Point(416, 64)
Me.btCancel.Name = "btCancel"
Me.btCancel.Size = New System.Drawing.Size(40, 23)
Me.btCancel.TabIndex = 19
Me.btCancel.Text = "退出"
'
'btOK
'
Me.btOK.Location = New System.Drawing.Point(336, 64)
Me.btOK.Name = "btOK"
Me.btOK.Size = New System.Drawing.Size(40, 23)
Me.btOK.TabIndex = 18
Me.btOK.Text = "增加"
'
'lbNo
'
Me.lbNo.Location = New System.Drawing.Point(16, 40)
Me.lbNo.Name = "lbNo"
Me.lbNo.Size = New System.Drawing.Size(56, 23)
Me.lbNo.TabIndex = 10
Me.lbNo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(16, 16)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(56, 23)
Me.Label5.TabIndex = 9
Me.Label5.Text = "编号"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(360, 16)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(56, 23)
Me.Label4.TabIndex = 8
Me.Label4.Text = "备注"
Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'tbRemark
'
Me.tbRemark.Location = New System.Drawing.Point(360, 40)
Me.tbRemark.Name = "tbRemark"
Me.tbRemark.Size = New System.Drawing.Size(112, 21)
Me.tbRemark.TabIndex = 7
Me.tbRemark.Text = ""
'
'tbHandler
'
Me.tbHandler.Location = New System.Drawing.Point(288, 40)
Me.tbHandler.Name = "tbHandler"
Me.tbHandler.ReadOnly = True
Me.tbHandler.Size = New System.Drawing.Size(64, 21)
Me.tbHandler.TabIndex = 6
Me.tbHandler.Text = ""
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(288, 16)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(56, 23)
Me.Label3.TabIndex = 5
Me.Label3.Text = "经手人"
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'cbGoods
'
Me.cbGoods.Location = New System.Drawing.Point(144, 40)
Me.cbGoods.Name = "cbGoods"
Me.cbGoods.Size = New System.Drawing.Size(80, 20)
Me.cbGoods.TabIndex = 4
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(144, 16)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(56, 23)
Me.Label2.TabIndex = 3
Me.Label2.Text = "商品"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -