📄 frmidentify.vb
字号:
Public Class Frmidentify
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 Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Txtusername As System.Windows.Forms.TextBox
Friend WithEvents Txtuserpassword As System.Windows.Forms.TextBox
Friend WithEvents Btok As System.Windows.Forms.Button
Friend WithEvents Btcancel As System.Windows.Forms.Button
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Btexit As System.Windows.Forms.Button
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 OleDbUpdateCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbDeleteCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbConnection1 As System.Data.OleDb.OleDbConnection
Friend WithEvents DataSet11 As 应急信息管理系统界面.DataSet1
Friend WithEvents DataSet31 As 应急信息管理系统界面.DataSet3
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Txtusername = New System.Windows.Forms.TextBox()
Me.Txtuserpassword = New System.Windows.Forms.TextBox()
Me.Btok = New System.Windows.Forms.Button()
Me.Btcancel = New System.Windows.Forms.Button()
Me.Btexit = New System.Windows.Forms.Button()
Me.Label3 = New System.Windows.Forms.Label()
Me.OleDbDataAdapter1 = New System.Data.OleDb.OleDbDataAdapter()
Me.OleDbDeleteCommand1 = New System.Data.OleDb.OleDbCommand()
Me.OleDbConnection1 = New System.Data.OleDb.OleDbConnection()
Me.OleDbInsertCommand1 = New System.Data.OleDb.OleDbCommand()
Me.OleDbSelectCommand1 = New System.Data.OleDb.OleDbCommand()
Me.OleDbUpdateCommand1 = New System.Data.OleDb.OleDbCommand()
Me.DataSet11 = New 应急信息管理系统界面.DataSet1()
Me.DataSet31 = New 应急信息管理系统界面.DataSet3()
CType(Me.DataSet11, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.DataSet31, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(72, 112)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(72, 23)
Me.Label1.TabIndex = 0
Me.Label1.Text = "用户名:"
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(72, 168)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(72, 23)
Me.Label2.TabIndex = 1
Me.Label2.Text = "密码:"
'
'Txtusername
'
Me.Txtusername.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Txtusername.Location = New System.Drawing.Point(144, 112)
Me.Txtusername.Name = "Txtusername"
Me.Txtusername.Size = New System.Drawing.Size(120, 23)
Me.Txtusername.TabIndex = 2
Me.Txtusername.Text = ""
'
'Txtuserpassword
'
Me.Txtuserpassword.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Txtuserpassword.Location = New System.Drawing.Point(144, 168)
Me.Txtuserpassword.Name = "Txtuserpassword"
Me.Txtuserpassword.Size = New System.Drawing.Size(120, 23)
Me.Txtuserpassword.TabIndex = 3
Me.Txtuserpassword.Text = ""
'
'Btok
'
Me.Btok.Location = New System.Drawing.Point(56, 240)
Me.Btok.Name = "Btok"
Me.Btok.Size = New System.Drawing.Size(80, 32)
Me.Btok.TabIndex = 4
Me.Btok.Text = "确定"
'
'Btcancel
'
Me.Btcancel.BackColor = System.Drawing.SystemColors.Control
Me.Btcancel.Location = New System.Drawing.Point(152, 240)
Me.Btcancel.Name = "Btcancel"
Me.Btcancel.Size = New System.Drawing.Size(80, 32)
Me.Btcancel.TabIndex = 5
Me.Btcancel.Text = "取消"
'
'Btexit
'
Me.Btexit.Location = New System.Drawing.Point(248, 240)
Me.Btexit.Name = "Btexit"
Me.Btexit.Size = New System.Drawing.Size(80, 32)
Me.Btexit.TabIndex = 6
Me.Btexit.Text = "退出"
'
'Label3
'
Me.Label3.Font = New System.Drawing.Font("华文彩云", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label3.Location = New System.Drawing.Point(48, 24)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(312, 56)
Me.Label3.TabIndex = 7
Me.Label3.Text = "应急信息管理系统"
'
'OleDbDataAdapter1
'
Me.OleDbDataAdapter1.DeleteCommand = Me.OleDbDeleteCommand1
Me.OleDbDataAdapter1.InsertCommand = Me.OleDbInsertCommand1
Me.OleDbDataAdapter1.SelectCommand = Me.OleDbSelectCommand1
Me.OleDbDataAdapter1.TableMappings.AddRange(New System.Data.Common.DataTableMapping() {New System.Data.Common.DataTableMapping("Table", "用户信息表", New System.Data.Common.DataColumnMapping() {New System.Data.Common.DataColumnMapping("用户名", "用户名"), New System.Data.Common.DataColumnMapping("用户类别", "用户类别"), New System.Data.Common.DataColumnMapping("密码", "密码"), New System.Data.Common.DataColumnMapping("用户等级", "用户等级"), New System.Data.Common.DataColumnMapping("所属单位", "所属单位"), New System.Data.Common.DataColumnMapping("单位地址", "单位地址"), New System.Data.Common.DataColumnMapping("隶属部门", "隶属部门"), New System.Data.Common.DataColumnMapping("联系电话", "联系电话")})})
Me.OleDbDataAdapter1.UpdateCommand = Me.OleDbUpdateCommand1
'
'OleDbDeleteCommand1
'
Me.OleDbDeleteCommand1.CommandText = "DELETE FROM 用户信息表 WHERE (用户名 = ?) AND (单位地址 = ? OR ? IS NULL AND 单位地址 IS NULL) AN" & _
"D (密码 = ? OR ? IS NULL AND 密码 IS NULL) AND (所属单位 = ? OR ? IS NULL AND 所属单位 IS NU" & _
"LL) AND (用户等级 = ? OR ? IS NULL AND 用户等级 IS NULL) AND (用户类别 = ? OR ? IS NULL AND " & _
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -