📄 frm_editreaderdetails.vb
字号:
Imports System.Data.OleDb
Public Class frm_EditReaderDetails
Inherits System.Windows.Forms.Form
Dim MyConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "\Library.mdb")
Dim MyCommand As OleDbCommand
Dim MyReader As OleDbDataReader
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
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
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents TxtNo As System.Windows.Forms.TextBox
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents BtnEdit As System.Windows.Forms.Button
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents TxtReaderName As System.Windows.Forms.TextBox
Friend WithEvents TxtCurrentAddress As System.Windows.Forms.TextBox
Friend WithEvents TxtPermanentAddress As System.Windows.Forms.TextBox
Friend WithEvents TxtPhone As System.Windows.Forms.TextBox
Friend WithEvents TxtCell As System.Windows.Forms.TextBox
Friend WithEvents TxtEmail As System.Windows.Forms.TextBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frm_EditReaderDetails))
Me.Label1 = New System.Windows.Forms.Label
Me.TxtNo = New System.Windows.Forms.TextBox
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.Label7 = New System.Windows.Forms.Label
Me.Label6 = New System.Windows.Forms.Label
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.TxtEmail = New System.Windows.Forms.TextBox
Me.TxtCell = New System.Windows.Forms.TextBox
Me.TxtPhone = New System.Windows.Forms.TextBox
Me.TxtPermanentAddress = New System.Windows.Forms.TextBox
Me.TxtCurrentAddress = New System.Windows.Forms.TextBox
Me.TxtReaderName = New System.Windows.Forms.TextBox
Me.BtnEdit = New System.Windows.Forms.Button
Me.Button2 = New System.Windows.Forms.Button
Me.Button3 = New System.Windows.Forms.Button
Me.GroupBox1.SuspendLayout()
Me.SuspendLayout()
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(40, 13)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(53, 12)
Me.Label1.TabIndex = 0
Me.Label1.Text = "读者编号"
'
'TxtNo
'
Me.TxtNo.Location = New System.Drawing.Point(116, 9)
Me.TxtNo.Name = "TxtNo"
Me.TxtNo.Size = New System.Drawing.Size(230, 21)
Me.TxtNo.TabIndex = 1
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.Label7)
Me.GroupBox1.Controls.Add(Me.Label6)
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.TxtEmail)
Me.GroupBox1.Controls.Add(Me.TxtCell)
Me.GroupBox1.Controls.Add(Me.TxtPhone)
Me.GroupBox1.Controls.Add(Me.TxtPermanentAddress)
Me.GroupBox1.Controls.Add(Me.TxtCurrentAddress)
Me.GroupBox1.Controls.Add(Me.TxtReaderName)
Me.GroupBox1.Location = New System.Drawing.Point(17, 43)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(355, 233)
Me.GroupBox1.TabIndex = 2
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "读者信息"
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Location = New System.Drawing.Point(43, 201)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(35, 12)
Me.Label7.TabIndex = 18
Me.Label7.Text = "Email"
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Location = New System.Drawing.Point(25, 166)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(53, 12)
Me.Label6.TabIndex = 17
Me.Label6.Text = "手机号码"
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Location = New System.Drawing.Point(25, 132)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(53, 12)
Me.Label5.TabIndex = 16
Me.Label5.Text = "电话号码"
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Location = New System.Drawing.Point(25, 97)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(53, 12)
Me.Label4.TabIndex = 15
Me.Label4.Text = "永久地址"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(25, 63)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(53, 12)
Me.Label3.TabIndex = 14
Me.Label3.Text = "当前地址"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(25, 28)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(53, 12)
Me.Label2.TabIndex = 13
Me.Label2.Text = "读者姓名"
'
'TxtEmail
'
Me.TxtEmail.BackColor = System.Drawing.SystemColors.Info
Me.TxtEmail.Enabled = False
Me.TxtEmail.Location = New System.Drawing.Point(99, 198)
Me.TxtEmail.Name = "TxtEmail"
Me.TxtEmail.Size = New System.Drawing.Size(230, 21)
Me.TxtEmail.TabIndex = 11
'
'TxtCell
'
Me.TxtCell.BackColor = System.Drawing.SystemColors.Info
Me.TxtCell.Enabled = False
Me.TxtCell.Location = New System.Drawing.Point(99, 164)
Me.TxtCell.Name = "TxtCell"
Me.TxtCell.Size = New System.Drawing.Size(230, 21)
Me.TxtCell.TabIndex = 9
'
'TxtPhone
'
Me.TxtPhone.BackColor = System.Drawing.SystemColors.Info
Me.TxtPhone.Enabled = False
Me.TxtPhone.Location = New System.Drawing.Point(99, 129)
Me.TxtPhone.Name = "TxtPhone"
Me.TxtPhone.Size = New System.Drawing.Size(230, 21)
Me.TxtPhone.TabIndex = 7
'
'TxtPermanentAddress
'
Me.TxtPermanentAddress.BackColor = System.Drawing.SystemColors.Info
Me.TxtPermanentAddress.Enabled = False
Me.TxtPermanentAddress.Location = New System.Drawing.Point(99, 95)
Me.TxtPermanentAddress.Name = "TxtPermanentAddress"
Me.TxtPermanentAddress.Size = New System.Drawing.Size(230, 21)
Me.TxtPermanentAddress.TabIndex = 6
'
'TxtCurrentAddress
'
Me.TxtCurrentAddress.BackColor = System.Drawing.SystemColors.Info
Me.TxtCurrentAddress.Enabled = False
Me.TxtCurrentAddress.Location = New System.Drawing.Point(99, 60)
Me.TxtCurrentAddress.Name = "TxtCurrentAddress"
Me.TxtCurrentAddress.Size = New System.Drawing.Size(230, 21)
Me.TxtCurrentAddress.TabIndex = 5
'
'TxtReaderName
'
Me.TxtReaderName.BackColor = System.Drawing.SystemColors.Info
Me.TxtReaderName.Enabled = False
Me.TxtReaderName.Location = New System.Drawing.Point(99, 26)
Me.TxtReaderName.Name = "TxtReaderName"
Me.TxtReaderName.Size = New System.Drawing.Size(230, 21)
Me.TxtReaderName.TabIndex = 4
'
'BtnEdit
'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -