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

📄 frmreturnbook.vb

📁 The Management Information System of Library using .NET
💻 VB
📖 第 1 页 / 共 3 页
字号:
Imports System.Data.SqlClient
Public Class frmReturnBook
    Inherits library.frmBase

    Dim CurBorrowNo As Int16 '当前借书 数
    Dim AllborrowNo As Int16 '总共借书数
    Dim BorrowDays As Int16  '可借书最大天数
    Dim BorrowBooks As Int16 '可借书最大册数

    Dim PubAu_id As String  '还书者
    Dim PubBook_code As String '要还的书号
    Dim PubBookLender 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 GroupBox3 As System.Windows.Forms.GroupBox
    Friend WithEvents btnExit As System.Windows.Forms.Button
    Friend WithEvents btnReset As System.Windows.Forms.Button
    Friend WithEvents dbgBorrowList As System.Windows.Forms.DataGrid
    Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
    Friend WithEvents txtBook_remarks As library.mytextbox
    Friend WithEvents lblIsInLib As System.Windows.Forms.Label
    Friend WithEvents txtBook_sort As library.mytextbox
    Friend WithEvents txtBook_pubdate As library.mytextbox
    Friend WithEvents txtBook_place As library.mytextbox
    Friend WithEvents txtBook_price As library.mytextbox
    Friend WithEvents Label12 As System.Windows.Forms.Label
    Friend WithEvents Label11 As System.Windows.Forms.Label
    Friend WithEvents txtBook_author As library.mytextbox
    Friend WithEvents txtBook_page As library.mytextbox
    Friend WithEvents Label9 As System.Windows.Forms.Label
    Friend WithEvents txtBook_isbn As library.mytextbox
    Friend WithEvents Label13 As System.Windows.Forms.Label
    Friend WithEvents txtBook_pub As library.mytextbox
    Friend WithEvents Label14 As System.Windows.Forms.Label
    Friend WithEvents txtBook_name As library.mytextbox
    Friend WithEvents Label15 As System.Windows.Forms.Label
    Friend WithEvents txtBook_code As library.mytextbox
    Friend WithEvents Label16 As System.Windows.Forms.Label
    Friend WithEvents Label17 As System.Windows.Forms.Label
    Friend WithEvents Label18 As System.Windows.Forms.Label
    Friend WithEvents Label19 As System.Windows.Forms.Label
    Friend WithEvents Label20 As System.Windows.Forms.Label
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents txtMaxBorrowDays As library.mytextbox
    Friend WithEvents Label10 As System.Windows.Forms.Label
    Friend WithEvents txtTotalBorrowNo As library.mytextbox
    Friend WithEvents Label8 As System.Windows.Forms.Label
    Friend WithEvents txtAu_adddate As library.mytextbox
    Friend WithEvents txtBorrowQinkuang As library.mytextbox
    Friend WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents txtAu_sort As library.mytextbox
    Friend WithEvents txtAu_sex As library.mytextbox
    Friend WithEvents txtAu_adr As library.mytextbox
    Friend WithEvents txtAu_name As library.mytextbox
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents txtAu_id As library.mytextbox
    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
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents btnReturnBook As System.Windows.Forms.Button
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.GroupBox3 = New System.Windows.Forms.GroupBox
        Me.btnExit = New System.Windows.Forms.Button
        Me.btnReset = New System.Windows.Forms.Button
        Me.btnReturnBook = New System.Windows.Forms.Button
        Me.dbgBorrowList = New System.Windows.Forms.DataGrid
        Me.GroupBox2 = New System.Windows.Forms.GroupBox
        Me.txtBook_remarks = New library.mytextbox
        Me.lblIsInLib = New System.Windows.Forms.Label
        Me.txtBook_sort = New library.mytextbox
        Me.txtBook_pubdate = New library.mytextbox
        Me.txtBook_place = New library.mytextbox
        Me.txtBook_price = New library.mytextbox
        Me.Label12 = New System.Windows.Forms.Label
        Me.Label11 = New System.Windows.Forms.Label
        Me.txtBook_author = New library.mytextbox
        Me.txtBook_page = New library.mytextbox
        Me.Label9 = New System.Windows.Forms.Label
        Me.txtBook_isbn = New library.mytextbox
        Me.Label13 = New System.Windows.Forms.Label
        Me.txtBook_pub = New library.mytextbox
        Me.Label14 = New System.Windows.Forms.Label
        Me.txtBook_name = New library.mytextbox
        Me.Label15 = New System.Windows.Forms.Label
        Me.txtBook_code = New library.mytextbox
        Me.Label16 = New System.Windows.Forms.Label
        Me.Label17 = New System.Windows.Forms.Label
        Me.Label18 = New System.Windows.Forms.Label
        Me.Label19 = New System.Windows.Forms.Label
        Me.Label20 = New System.Windows.Forms.Label
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.txtMaxBorrowDays = New library.mytextbox
        Me.Label10 = New System.Windows.Forms.Label
        Me.txtTotalBorrowNo = New library.mytextbox
        Me.Label8 = New System.Windows.Forms.Label
        Me.txtAu_adddate = New library.mytextbox
        Me.txtBorrowQinkuang = New library.mytextbox
        Me.Label7 = New System.Windows.Forms.Label
        Me.txtAu_sort = New library.mytextbox
        Me.txtAu_sex = New library.mytextbox
        Me.txtAu_adr = New library.mytextbox
        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.GroupBox3.SuspendLayout()
        CType(Me.dbgBorrowList, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.GroupBox2.SuspendLayout()
        Me.GroupBox1.SuspendLayout()
        Me.SuspendLayout()
        '
        'GroupBox3
        '
        Me.GroupBox3.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.GroupBox3.Controls.Add(Me.btnExit)
        Me.GroupBox3.Controls.Add(Me.btnReset)
        Me.GroupBox3.Controls.Add(Me.btnReturnBook)
        Me.GroupBox3.Location = New System.Drawing.Point(5, 235)
        Me.GroupBox3.Name = "GroupBox3"
        Me.GroupBox3.Size = New System.Drawing.Size(704, 56)
        Me.GroupBox3.TabIndex = 2
        Me.GroupBox3.TabStop = False
        '
        'btnExit
        '
        Me.btnExit.Location = New System.Drawing.Point(120, 16)
        Me.btnExit.Name = "btnExit"
        Me.btnExit.Size = New System.Drawing.Size(56, 32)
        Me.btnExit.TabIndex = 2
        Me.btnExit.Text = "退出"
        '
        'btnReset
        '
        Me.btnReset.Location = New System.Drawing.Point(64, 16)
        Me.btnReset.Name = "btnReset"
        Me.btnReset.Size = New System.Drawing.Size(56, 32)
        Me.btnReset.TabIndex = 1
        Me.btnReset.Text = "重置"
        '
        'btnReturnBook
        '
        Me.btnReturnBook.Location = New System.Drawing.Point(8, 16)
        Me.btnReturnBook.Name = "btnReturnBook"
        Me.btnReturnBook.Size = New System.Drawing.Size(56, 32)
        Me.btnReturnBook.TabIndex = 0
        Me.btnReturnBook.Text = "还书"
        '
        'dbgBorrowList
        '
        Me.dbgBorrowList.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.dbgBorrowList.DataMember = ""
        Me.dbgBorrowList.HeaderForeColor = System.Drawing.SystemColors.ControlText
        Me.dbgBorrowList.Location = New System.Drawing.Point(5, 299)
        Me.dbgBorrowList.Name = "dbgBorrowList"
        Me.dbgBorrowList.Size = New System.Drawing.Size(704, 232)
        Me.dbgBorrowList.TabIndex = 3
        Me.dbgBorrowList.TabStop = False
        '
        'GroupBox2
        '
        Me.GroupBox2.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.GroupBox2.Controls.Add(Me.txtBook_remarks)
        Me.GroupBox2.Controls.Add(Me.lblIsInLib)
        Me.GroupBox2.Controls.Add(Me.txtBook_sort)
        Me.GroupBox2.Controls.Add(Me.txtBook_pubdate)
        Me.GroupBox2.Controls.Add(Me.txtBook_place)
        Me.GroupBox2.Controls.Add(Me.txtBook_price)
        Me.GroupBox2.Controls.Add(Me.Label12)
        Me.GroupBox2.Controls.Add(Me.Label11)
        Me.GroupBox2.Controls.Add(Me.txtBook_author)
        Me.GroupBox2.Controls.Add(Me.txtBook_page)
        Me.GroupBox2.Controls.Add(Me.Label9)
        Me.GroupBox2.Controls.Add(Me.txtBook_isbn)
        Me.GroupBox2.Controls.Add(Me.Label13)
        Me.GroupBox2.Controls.Add(Me.txtBook_pub)
        Me.GroupBox2.Controls.Add(Me.Label14)
        Me.GroupBox2.Controls.Add(Me.txtBook_name)
        Me.GroupBox2.Controls.Add(Me.Label15)
        Me.GroupBox2.Controls.Add(Me.txtBook_code)
        Me.GroupBox2.Controls.Add(Me.Label16)
        Me.GroupBox2.Controls.Add(Me.Label17)
        Me.GroupBox2.Controls.Add(Me.Label18)
        Me.GroupBox2.Controls.Add(Me.Label19)
        Me.GroupBox2.Controls.Add(Me.Label20)
        Me.GroupBox2.Location = New System.Drawing.Point(5, 107)
        Me.GroupBox2.Name = "GroupBox2"
        Me.GroupBox2.Size = New System.Drawing.Size(704, 128)
        Me.GroupBox2.TabIndex = 1
        Me.GroupBox2.TabStop = False
        Me.GroupBox2.Text = "图书基本情况"
        '
        'txtBook_remarks
        '
        Me.txtBook_remarks.BackColor = System.Drawing.Color.White
        Me.txtBook_remarks.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtBook_remarks.Location = New System.Drawing.Point(296, 96)
        Me.txtBook_remarks.Name = "txtBook_remarks"
        Me.txtBook_remarks.ReadOnly = True
        Me.txtBook_remarks.Size = New System.Drawing.Size(328, 21)
        Me.txtBook_remarks.TabIndex = 48
        Me.txtBook_remarks.TabStop = False
        Me.txtBook_remarks.Text = ""
        '
        'lblIsInLib
        '
        Me.lblIsInLib.Font = New System.Drawing.Font("幼圆", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
        Me.lblIsInLib.ForeColor = System.Drawing.Color.Red
        Me.lblIsInLib.Location = New System.Drawing.Point(640, 16)
        Me.lblIsInLib.Name = "lblIsInLib"
        Me.lblIsInLib.Size = New System.Drawing.Size(24, 96)
        Me.lblIsInLib.TabIndex = 47
        '
        'txtBook_sort
        '
        Me.txtBook_sort.BackColor = System.Drawing.Color.White
        Me.txtBook_sort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtBook_sort.Location = New System.Drawing.Point(88, 96)
        Me.txtBook_sort.Name = "txtBook_sort"
        Me.txtBook_sort.ReadOnly = True
        Me.txtBook_sort.Size = New System.Drawing.Size(128, 21)
        Me.txtBook_sort.TabIndex = 46
        Me.txtBook_sort.TabStop = False
        Me.txtBook_sort.Text = ""
        '
        'txtBook_pubdate
        '
        Me.txtBook_pubdate.BackColor = System.Drawing.Color.White
        Me.txtBook_pubdate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtBook_pubdate.Location = New System.Drawing.Point(496, 40)
        Me.txtBook_pubdate.Name = "txtBook_pubdate"
        Me.txtBook_pubdate.ReadOnly = True
        Me.txtBook_pubdate.Size = New System.Drawing.Size(128, 21)
        Me.txtBook_pubdate.TabIndex = 45
        Me.txtBook_pubdate.TabStop = False
        Me.txtBook_pubdate.Text = ""
        '
        'txtBook_place
        '
        Me.txtBook_place.BackColor = System.Drawing.Color.White
        Me.txtBook_place.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtBook_place.Location = New System.Drawing.Point(88, 64)
        Me.txtBook_place.Name = "txtBook_place"
        Me.txtBook_place.ReadOnly = True
        Me.txtBook_place.Size = New System.Drawing.Size(128, 21)
        Me.txtBook_place.TabIndex = 44
        Me.txtBook_place.TabStop = False
        Me.txtBook_place.Text = ""
        '
        'txtBook_price
        '
        Me.txtBook_price.BackColor = System.Drawing.Color.White
        Me.txtBook_price.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtBook_price.Location = New System.Drawing.Point(496, 64)
        Me.txtBook_price.Name = "txtBook_price"
        Me.txtBook_price.ReadOnly = True
        Me.txtBook_price.Size = New System.Drawing.Size(128, 21)
        Me.txtBook_price.TabIndex = 43
        Me.txtBook_price.TabStop = False
        Me.txtBook_price.Text = ""
        '
        'Label12
        '
        Me.Label12.Location = New System.Drawing.Point(224, 96)
        Me.Label12.Name = "Label12"
        Me.Label12.Size = New System.Drawing.Size(64, 16)
        Me.Label12.TabIndex = 42
        Me.Label12.Text = "备注:"
        '
        'Label11
        '
        Me.Label11.Location = New System.Drawing.Point(16, 96)
        Me.Label11.Name = "Label11"
        Me.Label11.Size = New System.Drawing.Size(64, 16)
        Me.Label11.TabIndex = 41
        Me.Label11.Text = "图书分类:"
        '
        'txtBook_author
        '
        Me.txtBook_author.BackColor = System.Drawing.Color.White
        Me.txtBook_author.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtBook_author.Location = New System.Drawing.Point(296, 40)
        Me.txtBook_author.Name = "txtBook_author"
        Me.txtBook_author.ReadOnly = True
        Me.txtBook_author.Size = New System.Drawing.Size(128, 21)
        Me.txtBook_author.TabIndex = 40
        Me.txtBook_author.TabStop = False
        Me.txtBook_author.Text = ""
        '
        'txtBook_page
        '
        Me.txtBook_page.BackColor = System.Drawing.Color.White
        Me.txtBook_page.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtBook_page.Location = New System.Drawing.Point(296, 64)
        Me.txtBook_page.Name = "txtBook_page"
        Me.txtBook_page.ReadOnly = True
        Me.txtBook_page.Size = New System.Drawing.Size(128, 21)
        Me.txtBook_page.TabIndex = 38
        Me.txtBook_page.TabStop = False
        Me.txtBook_page.Text = ""
        '
        'Label9
        '
        Me.Label9.Location = New System.Drawing.Point(16, 64)
        Me.Label9.Name = "Label9"
        Me.Label9.Size = New System.Drawing.Size(56, 16)
        Me.Label9.TabIndex = 37
        Me.Label9.Text = "存放位置:"

⌨️ 快捷键说明

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