📄 frmmansearch.vb
字号:
Public Class Frmmansearch
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 TabControl1 As System.Windows.Forms.TabControl
Friend WithEvents Btexitmansearch As System.Windows.Forms.Button
Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
Friend WithEvents TabPage4 As System.Windows.Forms.TabPage
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Btbhsearch As System.Windows.Forms.Button
Friend WithEvents DataGrid1 As System.Windows.Forms.DataGrid
Friend WithEvents OleDbDataAdapter1 As System.Data.OleDb.OleDbDataAdapter
Friend WithEvents OleDbSelectCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbInsertCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbConnection1 As System.Data.OleDb.OleDbConnection
Friend WithEvents DataSet51 As 应急信息管理系统界面.DataSet5
Friend WithEvents Txtmanbianhao As System.Windows.Forms.TextBox
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Cbjobname As System.Windows.Forms.ComboBox
Friend WithEvents Btjobnamesearch As System.Windows.Forms.Button
Friend WithEvents DataGrid2 As System.Windows.Forms.DataGrid
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 DataGrid3 As System.Windows.Forms.DataGrid
Friend WithEvents Txtnumberman As System.Windows.Forms.TextBox
Friend WithEvents Cbnamejob As System.Windows.Forms.ComboBox
Friend WithEvents Cbrelation As System.Windows.Forms.ComboBox
Friend WithEvents Btzhsearch As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.TabControl1 = New System.Windows.Forms.TabControl()
Me.TabPage1 = New System.Windows.Forms.TabPage()
Me.DataGrid1 = New System.Windows.Forms.DataGrid()
Me.DataSet51 = New 应急信息管理系统界面.DataSet5()
Me.Btbhsearch = New System.Windows.Forms.Button()
Me.Txtmanbianhao = New System.Windows.Forms.TextBox()
Me.Label1 = New System.Windows.Forms.Label()
Me.TabPage2 = New System.Windows.Forms.TabPage()
Me.DataGrid2 = New System.Windows.Forms.DataGrid()
Me.Btjobnamesearch = New System.Windows.Forms.Button()
Me.Cbjobname = New System.Windows.Forms.ComboBox()
Me.Label2 = New System.Windows.Forms.Label()
Me.TabPage4 = New System.Windows.Forms.TabPage()
Me.Btzhsearch = New System.Windows.Forms.Button()
Me.Cbrelation = New System.Windows.Forms.ComboBox()
Me.DataGrid3 = New System.Windows.Forms.DataGrid()
Me.Txtnumberman = New System.Windows.Forms.TextBox()
Me.Label5 = New System.Windows.Forms.Label()
Me.Cbnamejob = New System.Windows.Forms.ComboBox()
Me.Label4 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.Btexitmansearch = New System.Windows.Forms.Button()
Me.OleDbDataAdapter1 = New System.Data.OleDb.OleDbDataAdapter()
Me.OleDbInsertCommand1 = New System.Data.OleDb.OleDbCommand()
Me.OleDbConnection1 = New System.Data.OleDb.OleDbConnection()
Me.OleDbSelectCommand1 = New System.Data.OleDb.OleDbCommand()
Me.TabControl1.SuspendLayout()
Me.TabPage1.SuspendLayout()
CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.DataSet51, System.ComponentModel.ISupportInitialize).BeginInit()
Me.TabPage2.SuspendLayout()
CType(Me.DataGrid2, System.ComponentModel.ISupportInitialize).BeginInit()
Me.TabPage4.SuspendLayout()
CType(Me.DataGrid3, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'TabControl1
'
Me.TabControl1.Controls.AddRange(New System.Windows.Forms.Control() {Me.TabPage1, Me.TabPage2, Me.TabPage4})
Me.TabControl1.Name = "TabControl1"
Me.TabControl1.SelectedIndex = 0
Me.TabControl1.Size = New System.Drawing.Size(712, 376)
Me.TabControl1.TabIndex = 0
'
'TabPage1
'
Me.TabPage1.Controls.AddRange(New System.Windows.Forms.Control() {Me.DataGrid1, Me.Btbhsearch, Me.Txtmanbianhao, Me.Label1})
Me.TabPage1.Location = New System.Drawing.Point(4, 21)
Me.TabPage1.Name = "TabPage1"
Me.TabPage1.Size = New System.Drawing.Size(704, 351)
Me.TabPage1.TabIndex = 0
Me.TabPage1.Text = "按照编号查询"
'
'DataGrid1
'
Me.DataGrid1.DataMember = ""
Me.DataGrid1.DataSource = Me.DataSet51.应急人员信息表
Me.DataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.DataGrid1.Location = New System.Drawing.Point(8, 48)
Me.DataGrid1.Name = "DataGrid1"
Me.DataGrid1.Size = New System.Drawing.Size(688, 296)
Me.DataGrid1.TabIndex = 3
'
'DataSet51
'
Me.DataSet51.DataSetName = "DataSet5"
Me.DataSet51.Locale = New System.Globalization.CultureInfo("zh-CN")
Me.DataSet51.Namespace = "http://www.tempuri.org/DataSet5.xsd"
'
'Btbhsearch
'
Me.Btbhsearch.Location = New System.Drawing.Point(496, 16)
Me.Btbhsearch.Name = "Btbhsearch"
Me.Btbhsearch.Size = New System.Drawing.Size(112, 23)
Me.Btbhsearch.TabIndex = 2
Me.Btbhsearch.Text = "按编号查询"
'
'Txtmanbianhao
'
Me.Txtmanbianhao.Enabled = False
Me.Txtmanbianhao.Location = New System.Drawing.Point(232, 16)
Me.Txtmanbianhao.Name = "Txtmanbianhao"
Me.Txtmanbianhao.Size = New System.Drawing.Size(192, 21)
Me.Txtmanbianhao.TabIndex = 1
Me.Txtmanbianhao.Text = ""
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(16, 16)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(224, 23)
Me.Label1.TabIndex = 0
Me.Label1.Text = "请输入要查询应急人员信息编号:"
'
'TabPage2
'
Me.TabPage2.Controls.AddRange(New System.Windows.Forms.Control() {Me.DataGrid2, Me.Btjobnamesearch, Me.Cbjobname, Me.Label2})
Me.TabPage2.Location = New System.Drawing.Point(4, 21)
Me.TabPage2.Name = "TabPage2"
Me.TabPage2.Size = New System.Drawing.Size(704, 351)
Me.TabPage2.TabIndex = 1
Me.TabPage2.Text = "按照职业名称查询"
'
'DataGrid2
'
Me.DataGrid2.DataMember = ""
Me.DataGrid2.DataSource = Me.DataSet51.应急人员信息表
Me.DataGrid2.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.DataGrid2.Location = New System.Drawing.Point(8, 56)
Me.DataGrid2.Name = "DataGrid2"
Me.DataGrid2.Size = New System.Drawing.Size(688, 288)
Me.DataGrid2.TabIndex = 3
'
'Btjobnamesearch
'
Me.Btjobnamesearch.Location = New System.Drawing.Point(488, 24)
Me.Btjobnamesearch.Name = "Btjobnamesearch"
Me.Btjobnamesearch.Size = New System.Drawing.Size(112, 23)
Me.Btjobnamesearch.TabIndex = 2
Me.Btjobnamesearch.Text = "按职业名称查询"
'
'Cbjobname
'
Me.Cbjobname.Enabled = False
Me.Cbjobname.Items.AddRange(New Object() {"消防队员", "公安民警", "交通警察", "武装警察", "护士", "医师", "水利工程师", "化学工程师", "城市管理员", "森林火警"})
Me.Cbjobname.Location = New System.Drawing.Point(240, 24)
Me.Cbjobname.Name = "Cbjobname"
Me.Cbjobname.Size = New System.Drawing.Size(168, 20)
Me.Cbjobname.TabIndex = 1
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(16, 24)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(232, 23)
Me.Label2.TabIndex = 0
Me.Label2.Text = "请选择要查询应急人员的职业名称:"
'
'TabPage4
'
Me.TabPage4.Controls.AddRange(New System.Windows.Forms.Control() {Me.Btzhsearch, Me.Cbrelation, Me.DataGrid3, Me.Txtnumberman, Me.Label5, Me.Cbnamejob, Me.Label4, Me.Label3})
Me.TabPage4.Location = New System.Drawing.Point(4, 21)
Me.TabPage4.Name = "TabPage4"
Me.TabPage4.Size = New System.Drawing.Size(704, 351)
Me.TabPage4.TabIndex = 3
Me.TabPage4.Text = "综合查询"
'
'Btzhsearch
'
Me.Btzhsearch.Location = New System.Drawing.Point(552, 48)
Me.Btzhsearch.Name = "Btzhsearch"
Me.Btzhsearch.Size = New System.Drawing.Size(96, 23)
Me.Btzhsearch.TabIndex = 8
Me.Btzhsearch.Text = "综合查询"
'
'Cbrelation
'
Me.Cbrelation.Enabled = False
Me.Cbrelation.Items.AddRange(New Object() {"and", "or"})
Me.Cbrelation.Location = New System.Drawing.Point(360, 16)
Me.Cbrelation.Name = "Cbrelation"
Me.Cbrelation.Size = New System.Drawing.Size(88, 20)
Me.Cbrelation.TabIndex = 7
Me.Cbrelation.Text = "and"
'
'DataGrid3
'
Me.DataGrid3.DataMember = ""
Me.DataGrid3.DataSource = Me.DataSet51.应急人员信息表
Me.DataGrid3.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.DataGrid3.Location = New System.Drawing.Point(8, 72)
Me.DataGrid3.Name = "DataGrid3"
Me.DataGrid3.Size = New System.Drawing.Size(688, 272)
Me.DataGrid3.TabIndex = 6
'
'Txtnumberman
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -