⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 returnbook.vb

📁 这是一个完善的图书馆管理系统.后台数据库采用ACCESS.
💻 VB
📖 第 1 页 / 共 3 页
字号:
Public Class frmReturnBook
    Inherits System.Windows.Forms.Form

#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 grdLendBook As System.Windows.Forms.DataGrid
    Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
    Friend WithEvents rdoBookId As System.Windows.Forms.RadioButton
    Friend WithEvents rdoBarCode As System.Windows.Forms.RadioButton
    Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
    Friend WithEvents btnClear As System.Windows.Forms.Button
    Friend WithEvents btnClose As System.Windows.Forms.Button
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents txtCanBorrowCount As System.Windows.Forms.TextBox
    Friend WithEvents txtUnReturnedCount As System.Windows.Forms.TextBox
    Friend WithEvents Label8 As System.Windows.Forms.Label
    Friend WithEvents txtDemo As System.Windows.Forms.TextBox
    Friend WithEvents Label10 As System.Windows.Forms.Label
    Friend WithEvents Label13 As System.Windows.Forms.Label
    Friend WithEvents txtReaderId As System.Windows.Forms.TextBox
    Friend WithEvents Label14 As System.Windows.Forms.Label
    Friend WithEvents txtReaderType As System.Windows.Forms.TextBox
    Friend WithEvents Label15 As System.Windows.Forms.Label
    Friend WithEvents txtReaderAddress As System.Windows.Forms.TextBox
    Friend WithEvents Label16 As System.Windows.Forms.Label
    Friend WithEvents txtReaderTelephone As System.Windows.Forms.TextBox
    Friend WithEvents Label17 As System.Windows.Forms.Label
    Friend WithEvents txtReaderName As System.Windows.Forms.TextBox
    Friend WithEvents Label18 As System.Windows.Forms.Label
    Friend WithEvents txtReaderDepartment As System.Windows.Forms.TextBox
    Friend WithEvents Label19 As System.Windows.Forms.Label
    Friend WithEvents txtReaderAddTime As System.Windows.Forms.TextBox
    Friend WithEvents Label20 As System.Windows.Forms.Label
    Friend WithEvents txtLendCount As System.Windows.Forms.TextBox
    Friend WithEvents txtReaderSex As System.Windows.Forms.TextBox
    Friend WithEvents txtBookType As System.Windows.Forms.TextBox
    Friend WithEvents txtExistCount As System.Windows.Forms.TextBox
    Friend WithEvents Label21 As System.Windows.Forms.Label
    Friend WithEvents txtBookCount As System.Windows.Forms.TextBox
    Friend WithEvents txtPublisher As System.Windows.Forms.TextBox
    Friend WithEvents Label23 As System.Windows.Forms.Label
    Friend WithEvents txtBookName As System.Windows.Forms.TextBox
    Friend WithEvents Label24 As System.Windows.Forms.Label
    Friend WithEvents txtPublishTime As System.Windows.Forms.TextBox
    Friend WithEvents Label25 As System.Windows.Forms.Label
    Friend WithEvents txtBookPrice As System.Windows.Forms.TextBox
    Friend WithEvents Label26 As System.Windows.Forms.Label
    Friend WithEvents txtBookAuthor As System.Windows.Forms.TextBox
    Friend WithEvents labInfo As System.Windows.Forms.Label
    Friend WithEvents txtBookId As System.Windows.Forms.TextBox
    Friend WithEvents Label28 As System.Windows.Forms.Label
    Friend WithEvents Label30 As System.Windows.Forms.Label
    Friend WithEvents Label22 As System.Windows.Forms.Label
    Friend WithEvents txtBorrowTime As System.Windows.Forms.TextBox
    Friend WithEvents btnReturn As System.Windows.Forms.Button
    Friend WithEvents txtReturnTime As System.Windows.Forms.TextBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.grdLendBook = New System.Windows.Forms.DataGrid
        Me.GroupBox3 = New System.Windows.Forms.GroupBox
        Me.Label1 = New System.Windows.Forms.Label
        Me.Label2 = New System.Windows.Forms.Label
        Me.txtBorrowTime = New System.Windows.Forms.TextBox
        Me.txtReturnTime = New System.Windows.Forms.TextBox
        Me.Label4 = New System.Windows.Forms.Label
        Me.GroupBox5 = New System.Windows.Forms.GroupBox
        Me.rdoBookId = New System.Windows.Forms.RadioButton
        Me.rdoBarCode = New System.Windows.Forms.RadioButton
        Me.GroupBox4 = New System.Windows.Forms.GroupBox
        Me.btnReturn = New System.Windows.Forms.Button
        Me.btnClear = New System.Windows.Forms.Button
        Me.btnClose = New System.Windows.Forms.Button
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.GroupBox2 = New System.Windows.Forms.GroupBox
        Me.Label3 = New System.Windows.Forms.Label
        Me.Label7 = New System.Windows.Forms.Label
        Me.txtCanBorrowCount = New System.Windows.Forms.TextBox
        Me.txtUnReturnedCount = New System.Windows.Forms.TextBox
        Me.Label8 = New System.Windows.Forms.Label
        Me.txtDemo = New System.Windows.Forms.TextBox
        Me.Label10 = New System.Windows.Forms.Label
        Me.Label13 = New System.Windows.Forms.Label
        Me.txtReaderId = New System.Windows.Forms.TextBox
        Me.Label14 = New System.Windows.Forms.Label
        Me.txtReaderType = New System.Windows.Forms.TextBox
        Me.Label15 = New System.Windows.Forms.Label
        Me.txtReaderAddress = New System.Windows.Forms.TextBox
        Me.Label16 = New System.Windows.Forms.Label
        Me.txtReaderTelephone = New System.Windows.Forms.TextBox
        Me.Label17 = New System.Windows.Forms.Label
        Me.txtReaderName = New System.Windows.Forms.TextBox
        Me.Label18 = New System.Windows.Forms.Label
        Me.txtReaderDepartment = New System.Windows.Forms.TextBox
        Me.Label19 = New System.Windows.Forms.Label
        Me.txtReaderAddTime = New System.Windows.Forms.TextBox
        Me.Label20 = New System.Windows.Forms.Label
        Me.txtLendCount = New System.Windows.Forms.TextBox
        Me.txtReaderSex = New System.Windows.Forms.TextBox
        Me.txtBookType = New System.Windows.Forms.TextBox
        Me.txtExistCount = New System.Windows.Forms.TextBox
        Me.Label21 = New System.Windows.Forms.Label
        Me.txtBookCount = New System.Windows.Forms.TextBox
        Me.txtPublisher = New System.Windows.Forms.TextBox
        Me.Label23 = New System.Windows.Forms.Label
        Me.txtBookName = New System.Windows.Forms.TextBox
        Me.Label24 = New System.Windows.Forms.Label
        Me.txtPublishTime = New System.Windows.Forms.TextBox
        Me.Label25 = New System.Windows.Forms.Label
        Me.txtBookPrice = New System.Windows.Forms.TextBox
        Me.Label26 = New System.Windows.Forms.Label
        Me.txtBookAuthor = New System.Windows.Forms.TextBox
        Me.labInfo = New System.Windows.Forms.Label
        Me.txtBookId = New System.Windows.Forms.TextBox
        Me.Label28 = New System.Windows.Forms.Label
        Me.Label30 = New System.Windows.Forms.Label
        Me.Label22 = New System.Windows.Forms.Label
        CType(Me.grdLendBook, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.GroupBox3.SuspendLayout()
        Me.GroupBox5.SuspendLayout()
        Me.GroupBox4.SuspendLayout()
        Me.GroupBox1.SuspendLayout()
        Me.SuspendLayout()
        '
        'grdLendBook
        '
        Me.grdLendBook.DataMember = ""
        Me.grdLendBook.Dock = System.Windows.Forms.DockStyle.Bottom
        Me.grdLendBook.HeaderForeColor = System.Drawing.SystemColors.ControlText
        Me.grdLendBook.Location = New System.Drawing.Point(0, 325)
        Me.grdLendBook.Name = "grdLendBook"
        Me.grdLendBook.ReadOnly = True
        Me.grdLendBook.Size = New System.Drawing.Size(760, 184)
        Me.grdLendBook.TabIndex = 11
        '
        'GroupBox3
        '
        Me.GroupBox3.Controls.Add(Me.Label1)
        Me.GroupBox3.Controls.Add(Me.Label2)
        Me.GroupBox3.Controls.Add(Me.txtBorrowTime)
        Me.GroupBox3.Controls.Add(Me.txtReturnTime)
        Me.GroupBox3.Location = New System.Drawing.Point(0, 272)
        Me.GroupBox3.Name = "GroupBox3"
        Me.GroupBox3.Size = New System.Drawing.Size(504, 56)
        Me.GroupBox3.TabIndex = 7
        Me.GroupBox3.TabStop = False
        '
        'Label1
        '
        Me.Label1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label1.Location = New System.Drawing.Point(8, 24)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(56, 16)
        Me.Label1.TabIndex = 0
        Me.Label1.Text = "借书日期"
        '
        'Label2
        '
        Me.Label2.ForeColor = System.Drawing.Color.Blue
        Me.Label2.Location = New System.Drawing.Point(264, 24)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(56, 16)
        Me.Label2.TabIndex = 0
        Me.Label2.Text = "还书日期"
        '
        'txtBorrowTime
        '
        Me.txtBorrowTime.Enabled = False
        Me.txtBorrowTime.Location = New System.Drawing.Point(80, 24)
        Me.txtBorrowTime.Name = "txtBorrowTime"
        Me.txtBorrowTime.Size = New System.Drawing.Size(104, 21)
        Me.txtBorrowTime.TabIndex = 1
        Me.txtBorrowTime.Text = ""
        '
        'txtReturnTime
        '
        Me.txtReturnTime.Enabled = False
        Me.txtReturnTime.Location = New System.Drawing.Point(344, 24)
        Me.txtReturnTime.Name = "txtReturnTime"
        Me.txtReturnTime.Size = New System.Drawing.Size(104, 21)
        Me.txtReturnTime.TabIndex = 1
        Me.txtReturnTime.Text = ""
        '
        'Label4
        '
        Me.Label4.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(192, Byte), CType(128, Byte))
        Me.Label4.Location = New System.Drawing.Point(592, 168)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(168, 104)
        Me.Label4.TabIndex = 10
        Me.Label4.Text = "先在读者编号处输入读者编号然后按回车键,调出读者信息 再在图书编号/条码处输入图书的编号/条码调出图书信息"
        '
        'GroupBox5
        '
        Me.GroupBox5.Controls.Add(Me.rdoBookId)
        Me.GroupBox5.Controls.Add(Me.rdoBarCode)
        Me.GroupBox5.Location = New System.Drawing.Point(592, 0)
        Me.GroupBox5.Name = "GroupBox5"
        Me.GroupBox5.Size = New System.Drawing.Size(168, 160)
        Me.GroupBox5.TabIndex = 9
        Me.GroupBox5.TabStop = False
        Me.GroupBox5.Text = "选择图书关键字"
        '
        'rdoBookId
        '
        Me.rdoBookId.Checked = True
        Me.rdoBookId.Location = New System.Drawing.Point(16, 32)
        Me.rdoBookId.Name = "rdoBookId"
        Me.rdoBookId.TabIndex = 0
        Me.rdoBookId.TabStop = True
        Me.rdoBookId.Text = "图书编号"
        '
        'rdoBarCode
        '
        Me.rdoBarCode.Location = New System.Drawing.Point(16, 72)
        Me.rdoBarCode.Name = "rdoBarCode"
        Me.rdoBarCode.TabIndex = 0
        Me.rdoBarCode.Text = "条形码"
        '
        'GroupBox4
        '
        Me.GroupBox4.Controls.Add(Me.btnReturn)
        Me.GroupBox4.Controls.Add(Me.btnClear)
        Me.GroupBox4.Controls.Add(Me.btnClose)
        Me.GroupBox4.Location = New System.Drawing.Point(504, 272)
        Me.GroupBox4.Name = "GroupBox4"
        Me.GroupBox4.Size = New System.Drawing.Size(256, 56)
        Me.GroupBox4.TabIndex = 8
        Me.GroupBox4.TabStop = False
        '
        'btnReturn
        '
        Me.btnReturn.Enabled = False
        Me.btnReturn.Location = New System.Drawing.Point(16, 16)
        Me.btnReturn.Name = "btnReturn"
        Me.btnReturn.Size = New System.Drawing.Size(48, 32)
        Me.btnReturn.TabIndex = 0
        Me.btnReturn.Text = "还书"
        '
        'btnClear
        '
        Me.btnClear.Location = New System.Drawing.Point(104, 16)
        Me.btnClear.Name = "btnClear"
        Me.btnClear.Size = New System.Drawing.Size(48, 32)
        Me.btnClear.TabIndex = 0
        Me.btnClear.Text = "清空"
        '
        'btnClose
        '
        Me.btnClose.Location = New System.Drawing.Point(192, 16)
        Me.btnClose.Name = "btnClose"
        Me.btnClose.Size = New System.Drawing.Size(48, 32)
        Me.btnClose.TabIndex = 0
        Me.btnClose.Text = "关闭"
        '
        'GroupBox1
        '
        Me.GroupBox1.Controls.Add(Me.GroupBox2)
        Me.GroupBox1.Controls.Add(Me.Label3)
        Me.GroupBox1.Controls.Add(Me.Label7)
        Me.GroupBox1.Controls.Add(Me.txtCanBorrowCount)
        Me.GroupBox1.Controls.Add(Me.txtUnReturnedCount)
        Me.GroupBox1.Controls.Add(Me.Label8)
        Me.GroupBox1.Controls.Add(Me.txtDemo)
        Me.GroupBox1.Controls.Add(Me.Label10)
        Me.GroupBox1.Controls.Add(Me.Label13)
        Me.GroupBox1.Controls.Add(Me.txtReaderId)
        Me.GroupBox1.Controls.Add(Me.Label14)
        Me.GroupBox1.Controls.Add(Me.txtReaderType)
        Me.GroupBox1.Controls.Add(Me.Label15)
        Me.GroupBox1.Controls.Add(Me.txtReaderAddress)
        Me.GroupBox1.Controls.Add(Me.Label16)
        Me.GroupBox1.Controls.Add(Me.txtReaderTelephone)
        Me.GroupBox1.Controls.Add(Me.Label17)
        Me.GroupBox1.Controls.Add(Me.txtReaderName)
        Me.GroupBox1.Controls.Add(Me.Label18)
        Me.GroupBox1.Controls.Add(Me.txtReaderDepartment)
        Me.GroupBox1.Controls.Add(Me.Label19)
        Me.GroupBox1.Controls.Add(Me.txtReaderAddTime)
        Me.GroupBox1.Controls.Add(Me.Label20)
        Me.GroupBox1.Controls.Add(Me.txtLendCount)
        Me.GroupBox1.Controls.Add(Me.txtReaderSex)
        Me.GroupBox1.Controls.Add(Me.txtBookType)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -