📄 frmaddau.vb
字号:
Imports System.Data.SqlClient
Public Class frmAddAu
Inherits library.frmBase
Public strPubConnection As String
#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 Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
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 Label6 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label12 As System.Windows.Forms.Label
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents Label13 As System.Windows.Forms.Label
Friend WithEvents Label14 As System.Windows.Forms.Label
Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
Friend WithEvents btnAdd As System.Windows.Forms.Button
Friend WithEvents btnExit As System.Windows.Forms.Button
Friend WithEvents btnReset As System.Windows.Forms.Button
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents TextBox1 As library.mytextbox
Friend WithEvents ilsICON As System.Windows.Forms.ImageList
Friend WithEvents txtAu_serial As library.mytextbox
Friend WithEvents txtAu_remarks As library.mytextbox
Friend WithEvents txtAu_email As library.mytextbox
Friend WithEvents txtAu_password As library.mytextbox
Friend WithEvents txtAu_adr As library.mytextbox
Friend WithEvents txtAu_name As library.mytextbox
Friend WithEvents txtAu_id As library.mytextbox
Friend WithEvents txtFindAu_id As library.mytextbox
Friend WithEvents txtFindAu_name As library.mytextbox
Friend WithEvents dbgAu As System.Windows.Forms.DataGrid
Friend WithEvents cboAu_sort As System.Windows.Forms.ComboBox
Friend WithEvents dtpAu_adddate As System.Windows.Forms.DateTimePicker
Friend WithEvents cboAu_sex As System.Windows.Forms.ComboBox
Friend WithEvents btnDelete1 As System.Windows.Forms.Button
Friend WithEvents btnEdit As System.Windows.Forms.Button
Friend WithEvents btnCreatAuId As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmAddAu))
Me.dbgAu = New System.Windows.Forms.DataGrid
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.cboAu_sex = New System.Windows.Forms.ComboBox
Me.cboAu_sort = New System.Windows.Forms.ComboBox
Me.txtAu_serial = New library.mytextbox
Me.Label15 = New System.Windows.Forms.Label
Me.GroupBox3 = New System.Windows.Forms.GroupBox
Me.btnExit = New System.Windows.Forms.Button
Me.ilsICON = New System.Windows.Forms.ImageList(Me.components)
Me.btnReset = New System.Windows.Forms.Button
Me.btnDelete1 = New System.Windows.Forms.Button
Me.btnEdit = New System.Windows.Forms.Button
Me.btnAdd = New System.Windows.Forms.Button
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.Label13 = New System.Windows.Forms.Label
Me.txtFindAu_id = New library.mytextbox
Me.txtFindAu_name = New library.mytextbox
Me.Label14 = New System.Windows.Forms.Label
Me.btnCreatAuId = New System.Windows.Forms.Button
Me.txtAu_remarks = New library.mytextbox
Me.dtpAu_adddate = New System.Windows.Forms.DateTimePicker
Me.txtAu_email = New library.mytextbox
Me.Label12 = New System.Windows.Forms.Label
Me.txtAu_password = New library.mytextbox
Me.txtAu_adr = New library.mytextbox
Me.Label8 = New System.Windows.Forms.Label
Me.Label7 = New System.Windows.Forms.Label
Me.txtAu_name = New library.mytextbox
Me.Label6 = New System.Windows.Forms.Label
Me.txtAu_id = New library.mytextbox
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.TextBox1 = New library.mytextbox
CType(Me.dbgAu, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GroupBox1.SuspendLayout()
Me.GroupBox3.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.SuspendLayout()
'
'dbgAu
'
Me.dbgAu.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
Or System.Windows.Forms.AnchorStyles.Left) _
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.dbgAu.BackColor = System.Drawing.Color.Snow
Me.dbgAu.BackgroundColor = System.Drawing.SystemColors.ActiveCaptionText
Me.dbgAu.CaptionVisible = False
Me.dbgAu.DataMember = ""
Me.dbgAu.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.dbgAu.Location = New System.Drawing.Point(0, 280)
Me.dbgAu.Name = "dbgAu"
Me.dbgAu.ReadOnly = True
Me.dbgAu.Size = New System.Drawing.Size(584, 248)
Me.dbgAu.TabIndex = 1
Me.dbgAu.TabStop = False
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.cboAu_sex)
Me.GroupBox1.Controls.Add(Me.cboAu_sort)
Me.GroupBox1.Controls.Add(Me.txtAu_serial)
Me.GroupBox1.Controls.Add(Me.Label15)
Me.GroupBox1.Controls.Add(Me.GroupBox3)
Me.GroupBox1.Controls.Add(Me.GroupBox2)
Me.GroupBox1.Controls.Add(Me.btnCreatAuId)
Me.GroupBox1.Controls.Add(Me.txtAu_remarks)
Me.GroupBox1.Controls.Add(Me.dtpAu_adddate)
Me.GroupBox1.Controls.Add(Me.txtAu_email)
Me.GroupBox1.Controls.Add(Me.Label12)
Me.GroupBox1.Controls.Add(Me.txtAu_password)
Me.GroupBox1.Controls.Add(Me.txtAu_adr)
Me.GroupBox1.Controls.Add(Me.Label8)
Me.GroupBox1.Controls.Add(Me.Label7)
Me.GroupBox1.Controls.Add(Me.txtAu_name)
Me.GroupBox1.Controls.Add(Me.Label6)
Me.GroupBox1.Controls.Add(Me.txtAu_id)
Me.GroupBox1.Controls.Add(Me.Label5)
Me.GroupBox1.Controls.Add(Me.Label4)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Dock = System.Windows.Forms.DockStyle.Top
Me.GroupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup
Me.GroupBox1.Location = New System.Drawing.Point(0, 0)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(712, 272)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "读者详细资料"
'
'cboAu_sex
'
Me.cboAu_sex.Location = New System.Drawing.Point(80, 104)
Me.cboAu_sex.Name = "cboAu_sex"
Me.cboAu_sex.Size = New System.Drawing.Size(128, 20)
Me.cboAu_sex.TabIndex = 2
Me.cboAu_sex.Text = "ComboBox1"
'
'cboAu_sort
'
Me.cboAu_sort.Location = New System.Drawing.Point(288, 184)
Me.cboAu_sort.Name = "cboAu_sort"
Me.cboAu_sort.Size = New System.Drawing.Size(128, 20)
Me.cboAu_sort.TabIndex = 8
Me.cboAu_sort.Text = "ComboBox1"
'
'txtAu_serial
'
Me.txtAu_serial.BackColor = System.Drawing.SystemColors.Menu
Me.txtAu_serial.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtAu_serial.Location = New System.Drawing.Point(288, 224)
Me.txtAu_serial.Name = "txtAu_serial"
Me.txtAu_serial.ReadOnly = True
Me.txtAu_serial.Size = New System.Drawing.Size(128, 21)
Me.txtAu_serial.TabIndex = 28
Me.txtAu_serial.TabStop = False
Me.txtAu_serial.Text = ""
Me.txtAu_serial.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
'
'Label15
'
Me.Label15.AutoSize = True
Me.Label15.ForeColor = System.Drawing.Color.FromArgb(CType(0, Byte), CType(0, Byte), CType(192, Byte))
Me.Label15.Location = New System.Drawing.Point(216, 224)
Me.Label15.Name = "Label15"
Me.Label15.Size = New System.Drawing.Size(60, 17)
Me.Label15.TabIndex = 27
Me.Label15.Text = "读者序号:"
'
'GroupBox3
'
Me.GroupBox3.Controls.Add(Me.btnExit)
Me.GroupBox3.Controls.Add(Me.btnReset)
Me.GroupBox3.Controls.Add(Me.btnDelete1)
Me.GroupBox3.Controls.Add(Me.btnEdit)
Me.GroupBox3.Controls.Add(Me.btnAdd)
Me.GroupBox3.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.GroupBox3.ForeColor = System.Drawing.SystemColors.WindowFrame
Me.GroupBox3.Location = New System.Drawing.Point(424, 128)
Me.GroupBox3.Name = "GroupBox3"
Me.GroupBox3.Size = New System.Drawing.Size(280, 136)
Me.GroupBox3.TabIndex = 10
Me.GroupBox3.TabStop = False
Me.GroupBox3.Text = "记录处理"
'
'btnExit
'
Me.btnExit.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btnExit.ImageIndex = 3
Me.btnExit.ImageList = Me.ilsICON
Me.btnExit.Location = New System.Drawing.Point(16, 72)
Me.btnExit.Name = "btnExit"
Me.btnExit.Size = New System.Drawing.Size(256, 56)
Me.btnExit.TabIndex = 4
Me.btnExit.Text = "退出"
Me.btnExit.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'ilsICON
'
Me.ilsICON.ImageSize = New System.Drawing.Size(32, 32)
Me.ilsICON.ImageStream = CType(resources.GetObject("ilsICON.ImageStream"), System.Windows.Forms.ImageListStreamer)
Me.ilsICON.TransparentColor = System.Drawing.Color.Transparent
'
'btnReset
'
Me.btnReset.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btnReset.ImageIndex = 4
Me.btnReset.ImageList = Me.ilsICON
Me.btnReset.Location = New System.Drawing.Point(208, 16)
Me.btnReset.Name = "btnReset"
Me.btnReset.Size = New System.Drawing.Size(64, 56)
Me.btnReset.TabIndex = 3
Me.btnReset.Text = "重置记录"
Me.btnReset.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'btnDelete1
'
Me.btnDelete1.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btnDelete1.ImageIndex = 1
Me.btnDelete1.ImageList = Me.ilsICON
Me.btnDelete1.Location = New System.Drawing.Point(144, 16)
Me.btnDelete1.Name = "btnDelete1"
Me.btnDelete1.Size = New System.Drawing.Size(64, 56)
Me.btnDelete1.TabIndex = 2
Me.btnDelete1.Text = "删除记录"
Me.btnDelete1.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'btnEdit
'
Me.btnEdit.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btnEdit.ImageIndex = 2
Me.btnEdit.ImageList = Me.ilsICON
Me.btnEdit.Location = New System.Drawing.Point(80, 16)
Me.btnEdit.Name = "btnEdit"
Me.btnEdit.Size = New System.Drawing.Size(64, 56)
Me.btnEdit.TabIndex = 1
Me.btnEdit.Text = "修改记录"
Me.btnEdit.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'btnAdd
'
Me.btnAdd.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btnAdd.ImageIndex = 0
Me.btnAdd.ImageList = Me.ilsICON
Me.btnAdd.Location = New System.Drawing.Point(16, 16)
Me.btnAdd.Name = "btnAdd"
Me.btnAdd.Size = New System.Drawing.Size(64, 56)
Me.btnAdd.TabIndex = 0
Me.btnAdd.Text = "添加记录"
Me.btnAdd.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.Label13)
Me.GroupBox2.Controls.Add(Me.txtFindAu_id)
Me.GroupBox2.Controls.Add(Me.txtFindAu_name)
Me.GroupBox2.Controls.Add(Me.Label14)
Me.GroupBox2.Location = New System.Drawing.Point(424, 16)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(280, 104)
Me.GroupBox2.TabIndex = 9
Me.GroupBox2.TabStop = False
Me.GroupBox2.Text = "读者定位"
'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -