?? frm_readerdetails.vb
字號:
'****************************************************************************
'人人為我,我為人人
'枕善居漢化收藏整理
'發(fā)布日期:2007/07/23
'描 述:圖書管理系統(tǒng)
'網 站:http://www.Mndsoft.com/ (VB6源碼博客)
'網 站:http://www.VbDnet.com/ (VB.NET源碼博客,主要基于.NET2005)
'e-mail :Mndsoft@163.com
'e-mail :Mndsoft@126.com
'OICQ :88382850
' 如果您有新的好的代碼別忘記給枕善居哦!
'****************************************************************************
Imports System.Data.OleDb
Public Class frm_ReaderDetails
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
Dim IssueTag As String
Dim IssueTagUsed As String
#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 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 Label5 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents TxtReaderNo As System.Windows.Forms.TextBox
Friend WithEvents TxtReaderName As System.Windows.Forms.TextBox
Friend WithEvents TxtAddress 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
Friend WithEvents BtnAdd As System.Windows.Forms.Button
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Button3 As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frm_ReaderDetails))
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.TxtEmail = New System.Windows.Forms.TextBox
Me.TxtCell = New System.Windows.Forms.TextBox
Me.TxtPhone = New System.Windows.Forms.TextBox
Me.TxtAddress = New System.Windows.Forms.TextBox
Me.TxtReaderName = New System.Windows.Forms.TextBox
Me.TxtReaderNo = New System.Windows.Forms.TextBox
Me.Label7 = New System.Windows.Forms.Label
Me.Label6 = New System.Windows.Forms.Label
Me.Label5 = 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.BtnAdd = New System.Windows.Forms.Button
Me.Button2 = New System.Windows.Forms.Button
Me.Button3 = New System.Windows.Forms.Button
Me.GroupBox1.SuspendLayout()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.TxtEmail)
Me.GroupBox1.Controls.Add(Me.TxtCell)
Me.GroupBox1.Controls.Add(Me.TxtPhone)
Me.GroupBox1.Controls.Add(Me.TxtAddress)
Me.GroupBox1.Controls.Add(Me.TxtReaderName)
Me.GroupBox1.Controls.Add(Me.TxtReaderNo)
Me.GroupBox1.Controls.Add(Me.Label7)
Me.GroupBox1.Controls.Add(Me.Label6)
Me.GroupBox1.Controls.Add(Me.Label5)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Location = New System.Drawing.Point(10, 9)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(390, 238)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "讀者信息"
'
'TxtEmail
'
Me.TxtEmail.Location = New System.Drawing.Point(114, 201)
Me.TxtEmail.Name = "TxtEmail"
Me.TxtEmail.Size = New System.Drawing.Size(259, 21)
Me.TxtEmail.TabIndex = 13
'
'TxtCell
'
Me.TxtCell.Location = New System.Drawing.Point(114, 166)
Me.TxtCell.Name = "TxtCell"
Me.TxtCell.Size = New System.Drawing.Size(259, 21)
Me.TxtCell.TabIndex = 12
'
'TxtPhone
'
Me.TxtPhone.Location = New System.Drawing.Point(114, 132)
Me.TxtPhone.Name = "TxtPhone"
Me.TxtPhone.Size = New System.Drawing.Size(259, 21)
Me.TxtPhone.TabIndex = 11
'
'TxtAddress
'
Me.TxtAddress.Location = New System.Drawing.Point(114, 95)
Me.TxtAddress.Name = "TxtAddress"
Me.TxtAddress.Size = New System.Drawing.Size(259, 21)
Me.TxtAddress.TabIndex = 9
'
'TxtReaderName
'
Me.TxtReaderName.Location = New System.Drawing.Point(114, 60)
Me.TxtReaderName.Name = "TxtReaderName"
Me.TxtReaderName.Size = New System.Drawing.Size(259, 21)
Me.TxtReaderName.TabIndex = 8
'
'TxtReaderNo
'
Me.TxtReaderNo.Location = New System.Drawing.Point(114, 26)
Me.TxtReaderNo.Name = "TxtReaderNo"
Me.TxtReaderNo.Size = New System.Drawing.Size(259, 21)
Me.TxtReaderNo.TabIndex = 7
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Location = New System.Drawing.Point(55, 204)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(35, 12)
Me.Label7.TabIndex = 6
Me.Label7.Text = "Email"
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Location = New System.Drawing.Point(37, 169)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(53, 12)
Me.Label6.TabIndex = 5
Me.Label6.Text = "手機號碼"
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Location = New System.Drawing.Point(37, 135)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(53, 12)
Me.Label5.TabIndex = 4
Me.Label5.Text = "電話號碼"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(58, 98)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(29, 12)
Me.Label3.TabIndex = 2
Me.Label3.Text = "地址"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(37, 63)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(53, 12)
Me.Label2.TabIndex = 1
Me.Label2.Text = "讀者姓名"
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(37, 29)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(53, 12)
Me.Label1.TabIndex = 0
Me.Label1.Text = "讀者編號"
'
'BtnAdd
'
Me.BtnAdd.Location = New System.Drawing.Point(25, 255)
Me.BtnAdd.Name = "BtnAdd"
Me.BtnAdd.Size = New System.Drawing.Size(98, 25)
Me.BtnAdd.TabIndex = 1
Me.BtnAdd.Text = "添加"
'
'Button2
'
Me.Button2.Location = New System.Drawing.Point(149, 255)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(102, 25)
Me.Button2.TabIndex = 2
Me.Button2.Text = "重置"
'
'Button3
'
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -