📄 流通查询.vb
字号:
Imports System.Data
Imports System.Data.OleDb
Public Class 流通查询
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 MainMenu1 As System.Windows.Forms.MainMenu
Friend WithEvents PrintDocument1 As System.Drawing.Printing.PrintDocument
Friend WithEvents MenuItem1 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem2 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem3 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem4 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem5 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem6 As System.Windows.Forms.MenuItem
Friend WithEvents CheckBox1 As System.Windows.Forms.CheckBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
Friend WithEvents DataGrid1 As System.Windows.Forms.DataGrid
Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
Friend WithEvents DataGrid2 As System.Windows.Forms.DataGrid
Friend WithEvents MenuItem7 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem8 As System.Windows.Forms.MenuItem
Friend WithEvents PrintDocument2 As System.Drawing.Printing.PrintDocument
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.MainMenu1 = New System.Windows.Forms.MainMenu
Me.MenuItem1 = New System.Windows.Forms.MenuItem
Me.MenuItem2 = New System.Windows.Forms.MenuItem
Me.MenuItem3 = New System.Windows.Forms.MenuItem
Me.MenuItem4 = New System.Windows.Forms.MenuItem
Me.MenuItem5 = New System.Windows.Forms.MenuItem
Me.MenuItem7 = New System.Windows.Forms.MenuItem
Me.MenuItem8 = New System.Windows.Forms.MenuItem
Me.MenuItem6 = New System.Windows.Forms.MenuItem
Me.PrintDocument1 = New System.Drawing.Printing.PrintDocument
Me.CheckBox1 = New System.Windows.Forms.CheckBox
Me.Label1 = New System.Windows.Forms.Label
Me.ComboBox1 = New System.Windows.Forms.ComboBox
Me.Button1 = New System.Windows.Forms.Button
Me.Button2 = New System.Windows.Forms.Button
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.TabControl1 = New System.Windows.Forms.TabControl
Me.TabPage1 = New System.Windows.Forms.TabPage
Me.DataGrid1 = New System.Windows.Forms.DataGrid
Me.TabPage2 = New System.Windows.Forms.TabPage
Me.DataGrid2 = New System.Windows.Forms.DataGrid
Me.PrintDocument2 = New System.Drawing.Printing.PrintDocument
Me.GroupBox1.SuspendLayout()
Me.TabControl1.SuspendLayout()
Me.TabPage1.SuspendLayout()
CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.TabPage2.SuspendLayout()
CType(Me.DataGrid2, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'MainMenu1
'
Me.MainMenu1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem1, Me.MenuItem3, Me.MenuItem6})
'
'MenuItem1
'
Me.MenuItem1.Index = 0
Me.MenuItem1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem2})
Me.MenuItem1.Text = "文件(&F)"
'
'MenuItem2
'
Me.MenuItem2.Index = 0
Me.MenuItem2.Text = "退出(&X)"
'
'MenuItem3
'
Me.MenuItem3.Index = 1
Me.MenuItem3.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem4, Me.MenuItem5, Me.MenuItem7, Me.MenuItem8})
Me.MenuItem3.Text = "数据处理(&A)"
'
'MenuItem4
'
Me.MenuItem4.Index = 0
Me.MenuItem4.Text = "导出Excel<现刊>"
'
'MenuItem5
'
Me.MenuItem5.Index = 1
Me.MenuItem5.Text = "打印<现刊>"
'
'MenuItem7
'
Me.MenuItem7.Index = 2
Me.MenuItem7.Text = "导出Excel<过刊与图书>"
'
'MenuItem8
'
Me.MenuItem8.Index = 3
Me.MenuItem8.Text = "打印<过刊与图书>"
'
'MenuItem6
'
Me.MenuItem6.Index = 2
Me.MenuItem6.Shortcut = System.Windows.Forms.Shortcut.F1
Me.MenuItem6.Text = "帮助(&H)"
'
'PrintDocument1
'
'
'CheckBox1
'
Me.CheckBox1.Location = New System.Drawing.Point(8, 15)
Me.CheckBox1.Name = "CheckBox1"
Me.CheckBox1.Size = New System.Drawing.Size(48, 24)
Me.CheckBox1.TabIndex = 6
Me.CheckBox1.Text = "挂失"
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(72, 23)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(40, 16)
Me.Label1.TabIndex = 7
Me.Label1.Text = "年级"
'
'ComboBox1
'
Me.ComboBox1.Location = New System.Drawing.Point(112, 19)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(88, 20)
Me.ComboBox1.TabIndex = 8
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(208, 16)
Me.Button1.Name = "Button1"
Me.Button1.TabIndex = 9
Me.Button1.Text = "查询"
'
'Button2
'
Me.Button2.Location = New System.Drawing.Point(296, 16)
Me.Button2.Name = "Button2"
Me.Button2.TabIndex = 10
Me.Button2.Text = "出库查询"
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.CheckBox1)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.ComboBox1)
Me.GroupBox1.Controls.Add(Me.Button1)
Me.GroupBox1.Controls.Add(Me.Button2)
Me.GroupBox1.Location = New System.Drawing.Point(8, 8)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(392, 40)
Me.GroupBox1.TabIndex = 11
Me.GroupBox1.TabStop = False
'
'TabControl1
'
Me.TabControl1.Controls.Add(Me.TabPage1)
Me.TabControl1.Controls.Add(Me.TabPage2)
Me.TabControl1.Location = New System.Drawing.Point(8, 56)
Me.TabControl1.Name = "TabControl1"
Me.TabControl1.SelectedIndex = 0
Me.TabControl1.Size = New System.Drawing.Size(408, 192)
Me.TabControl1.TabIndex = 12
'
'TabPage1
'
Me.TabPage1.Controls.Add(Me.DataGrid1)
Me.TabPage1.Location = New System.Drawing.Point(4, 21)
Me.TabPage1.Name = "TabPage1"
Me.TabPage1.Size = New System.Drawing.Size(400, 167)
Me.TabPage1.TabIndex = 0
Me.TabPage1.Text = "现刊"
'
'DataGrid1
'
Me.DataGrid1.DataMember = ""
Me.DataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.DataGrid1.Location = New System.Drawing.Point(0, 0)
Me.DataGrid1.Name = "DataGrid1"
Me.DataGrid1.Size = New System.Drawing.Size(400, 168)
Me.DataGrid1.TabIndex = 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -