📄 frmstockbook.vb
字号:
Imports System
Imports System.Data
Imports System.Drawing
Imports System.Data.OleDb
Public Class frmStockBook
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写处置以清理组件列表。
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 Label1 As System.Windows.Forms.Label
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents TextBox8 As System.Windows.Forms.TextBox
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents TextBox7 As System.Windows.Forms.TextBox
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents TextBox6 As System.Windows.Forms.TextBox
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents TextBox5 As System.Windows.Forms.TextBox
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents Label10 As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.Label10 = New System.Windows.Forms.Label()
Me.Button3 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
Me.ComboBox1 = New System.Windows.Forms.ComboBox()
Me.Label9 = New System.Windows.Forms.Label()
Me.TextBox8 = New System.Windows.Forms.TextBox()
Me.Label8 = New System.Windows.Forms.Label()
Me.TextBox7 = New System.Windows.Forms.TextBox()
Me.Label7 = New System.Windows.Forms.Label()
Me.TextBox6 = New System.Windows.Forms.TextBox()
Me.Label6 = New System.Windows.Forms.Label()
Me.TextBox5 = New System.Windows.Forms.TextBox()
Me.Label5 = New System.Windows.Forms.Label()
Me.TextBox4 = New System.Windows.Forms.TextBox()
Me.Label4 = New System.Windows.Forms.Label()
Me.TextBox3 = New System.Windows.Forms.TextBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.TextBox2 = New System.Windows.Forms.TextBox()
Me.Label2 = New System.Windows.Forms.Label()
Me.Button1 = New System.Windows.Forms.Button()
Me.TextBox1 = New System.Windows.Forms.TextBox()
Me.Label1 = New System.Windows.Forms.Label()
Me.GroupBox1.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(192, Byte), CType(192, Byte))
Me.GroupBox1.Controls.AddRange(New System.Windows.Forms.Control() {Me.Label10, Me.Button3, Me.Button2, Me.GroupBox2, Me.Button1, Me.TextBox1, Me.Label1})
Me.GroupBox1.Dock = System.Windows.Forms.DockStyle.Fill
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(432, 389)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
'
'Label10
'
Me.Label10.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Label10.Location = New System.Drawing.Point(160, 352)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(112, 24)
Me.Label10.TabIndex = 26
Me.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Button3
'
Me.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.Button3.Location = New System.Drawing.Point(272, 352)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(56, 24)
Me.Button3.TabIndex = 25
Me.Button3.Text = "<<|"
'
'Button2
'
Me.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.Button2.Location = New System.Drawing.Point(104, 352)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(56, 24)
Me.Button2.TabIndex = 24
Me.Button2.Text = "|>>"
'
'GroupBox2
'
Me.GroupBox2.Controls.AddRange(New System.Windows.Forms.Control() {Me.ComboBox1, Me.Label9, Me.TextBox8, Me.Label8, Me.TextBox7, Me.Label7, Me.TextBox6, Me.Label6, Me.TextBox5, Me.Label5, Me.TextBox4, Me.Label4, Me.TextBox3, Me.Label3, Me.TextBox2, Me.Label2})
Me.GroupBox2.Location = New System.Drawing.Point(8, 56)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(416, 288)
Me.GroupBox2.TabIndex = 23
Me.GroupBox2.TabStop = False
Me.GroupBox2.Text = "订单详细信息"
'
'ComboBox1
'
Me.ComboBox1.Items.AddRange(New Object() {"铁道出版社", "科技出版社", "清华大学出版社", "北京大学出版社", "人民邮电出版社", "高等教育出版社", "北京希望出版社", "石油大学出版社", "中国人民大学出版社", "西安交通大学出版社"})
Me.ComboBox1.Location = New System.Drawing.Point(96, 218)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(296, 20)
Me.ComboBox1.TabIndex = 33
Me.ComboBox1.Text = "铁道出版社"
'
'Label9
'
Me.Label9.Location = New System.Drawing.Point(16, 250)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(80, 21)
Me.Label9.TabIndex = 32
Me.Label9.Text = "出版地点"
Me.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'TextBox8
'
Me.TextBox8.Location = New System.Drawing.Point(96, 250)
Me.TextBox8.Name = "TextBox8"
Me.TextBox8.Size = New System.Drawing.Size(296, 21)
Me.TextBox8.TabIndex = 31
Me.TextBox8.Text = ""
'
'Label8
'
Me.Label8.Location = New System.Drawing.Point(16, 217)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(72, 21)
Me.Label8.TabIndex = 30
Me.Label8.Text = "出版社"
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'TextBox7
'
Me.TextBox7.Location = New System.Drawing.Point(96, 186)
Me.TextBox7.Name = "TextBox7"
Me.TextBox7.Size = New System.Drawing.Size(296, 21)
Me.TextBox7.TabIndex = 29
Me.TextBox7.Text = ""
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(16, 186)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(72, 21)
Me.Label7.TabIndex = 28
Me.Label7.Text = "图书作者"
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'TextBox6
'
Me.TextBox6.Location = New System.Drawing.Point(96, 154)
Me.TextBox6.Name = "TextBox6"
Me.TextBox6.Size = New System.Drawing.Size(296, 21)
Me.TextBox6.TabIndex = 27
Me.TextBox6.Text = ""
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(16, 154)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(64, 21)
Me.Label6.TabIndex = 26
Me.Label6.Text = "购买数量"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'TextBox5
'
Me.TextBox5.Location = New System.Drawing.Point(96, 120)
Me.TextBox5.Name = "TextBox5"
Me.TextBox5.Size = New System.Drawing.Size(296, 21)
Me.TextBox5.TabIndex = 25
Me.TextBox5.Text = ""
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(16, 122)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(64, 21)
Me.Label5.TabIndex = 24
Me.Label5.Text = "价格"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'TextBox4
'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -