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

📄 frm_issuereturnbook.vb

📁 图书管理系统,在vb.net环境下运行,可以作为专业开发人士参考
💻 VB
📖 第 1 页 / 共 3 页
字号:
Imports System.Data.OleDb
Imports System.DateTime
Imports System.Math
Public Class frm_IssueReturnBook
    Inherits System.Windows.Forms.Form
    Dim myFrm
    Dim MyConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "\Library.mdb")
    Dim MyCommand
    Dim e As Exception
    Dim MyCommand2
    Dim MyReader As OleDbDataReader
    Dim MyReader2 As OleDbDataReader
    Dim dbset As New DataSet
    Dim dataA
    Dim myduedate 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 GroupBox2 As System.Windows.Forms.GroupBox
    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 Label3 As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents TxtSN As System.Windows.Forms.TextBox
    Friend WithEvents TxtISBN As System.Windows.Forms.TextBox
    Friend WithEvents TxtBookName As System.Windows.Forms.TextBox
    Friend WithEvents TxtAuthorName As System.Windows.Forms.TextBox
    Friend WithEvents TxtStatus As System.Windows.Forms.TextBox
    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 Label9 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 TxtTag As System.Windows.Forms.TextBox
    Friend WithEvents Label10 As System.Windows.Forms.Label
    Friend WithEvents TxtIssuedTag As System.Windows.Forms.TextBox
    Friend WithEvents Label11 As System.Windows.Forms.Label
    Friend WithEvents TxtIssueNo As System.Windows.Forms.TextBox
    Friend WithEvents Label12 As System.Windows.Forms.Label
    Friend WithEvents Label13 As System.Windows.Forms.Label
    Friend WithEvents ComboChargeType As System.Windows.Forms.ComboBox
    Friend WithEvents BtnIssue As System.Windows.Forms.Button
    Friend WithEvents Button3 As System.Windows.Forms.Button
    Friend WithEvents Button4 As System.Windows.Forms.Button
    Friend WithEvents TxtIssueDate As System.Windows.Forms.TextBox
    Friend WithEvents Label14 As System.Windows.Forms.Label
    Friend WithEvents TxtReturnDate As System.Windows.Forms.TextBox
    Friend WithEvents BtnPrintReceipt As System.Windows.Forms.Button
    Friend WithEvents TextBox14 As System.Windows.Forms.TextBox
    Friend WithEvents TextBox15 As System.Windows.Forms.TextBox
    Friend WithEvents TextBox16 As System.Windows.Forms.TextBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frm_IssueReturnBook))
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.TxtStatus = New System.Windows.Forms.TextBox
        Me.TxtAuthorName = New System.Windows.Forms.TextBox
        Me.TxtBookName = New System.Windows.Forms.TextBox
        Me.TxtISBN = New System.Windows.Forms.TextBox
        Me.TxtSN = New System.Windows.Forms.TextBox
        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.GroupBox2 = New System.Windows.Forms.GroupBox
        Me.TxtIssuedTag = New System.Windows.Forms.TextBox
        Me.Label10 = New System.Windows.Forms.Label
        Me.TxtTag = 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.Label9 = New System.Windows.Forms.Label
        Me.Label8 = New System.Windows.Forms.Label
        Me.Label7 = New System.Windows.Forms.Label
        Me.Label6 = New System.Windows.Forms.Label
        Me.GroupBox3 = New System.Windows.Forms.GroupBox
        Me.BtnPrintReceipt = New System.Windows.Forms.Button
        Me.TxtReturnDate = New System.Windows.Forms.TextBox
        Me.Label14 = New System.Windows.Forms.Label
        Me.TxtIssueDate = New System.Windows.Forms.TextBox
        Me.ComboChargeType = New System.Windows.Forms.ComboBox
        Me.Label13 = New System.Windows.Forms.Label
        Me.Label12 = New System.Windows.Forms.Label
        Me.TxtIssueNo = New System.Windows.Forms.TextBox
        Me.Label11 = New System.Windows.Forms.Label
        Me.BtnIssue = New System.Windows.Forms.Button
        Me.Button3 = New System.Windows.Forms.Button
        Me.Button4 = New System.Windows.Forms.Button
        Me.TextBox14 = New System.Windows.Forms.TextBox
        Me.TextBox15 = New System.Windows.Forms.TextBox
        Me.TextBox16 = New System.Windows.Forms.TextBox
        Me.GroupBox1.SuspendLayout()
        Me.GroupBox2.SuspendLayout()
        Me.GroupBox3.SuspendLayout()
        Me.SuspendLayout()
        '
        'GroupBox1
        '
        Me.GroupBox1.Controls.Add(Me.TxtStatus)
        Me.GroupBox1.Controls.Add(Me.TxtAuthorName)
        Me.GroupBox1.Controls.Add(Me.TxtBookName)
        Me.GroupBox1.Controls.Add(Me.TxtISBN)
        Me.GroupBox1.Controls.Add(Me.TxtSN)
        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.Location = New System.Drawing.Point(10, 9)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.Size = New System.Drawing.Size(333, 198)
        Me.GroupBox1.TabIndex = 0
        Me.GroupBox1.TabStop = False
        Me.GroupBox1.Text = "书籍信息"
        '
        'TxtStatus
        '
        Me.TxtStatus.BackColor = System.Drawing.SystemColors.Info
        Me.TxtStatus.Enabled = False
        Me.TxtStatus.Location = New System.Drawing.Point(111, 164)
        Me.TxtStatus.Name = "TxtStatus"
        Me.TxtStatus.Size = New System.Drawing.Size(202, 21)
        Me.TxtStatus.TabIndex = 9
        '
        'TxtAuthorName
        '
        Me.TxtAuthorName.BackColor = System.Drawing.SystemColors.Info
        Me.TxtAuthorName.Enabled = False
        Me.TxtAuthorName.Location = New System.Drawing.Point(111, 129)
        Me.TxtAuthorName.Name = "TxtAuthorName"
        Me.TxtAuthorName.Size = New System.Drawing.Size(202, 21)
        Me.TxtAuthorName.TabIndex = 8
        '
        'TxtBookName
        '
        Me.TxtBookName.BackColor = System.Drawing.SystemColors.Info
        Me.TxtBookName.Enabled = False
        Me.TxtBookName.Location = New System.Drawing.Point(111, 95)
        Me.TxtBookName.Name = "TxtBookName"
        Me.TxtBookName.Size = New System.Drawing.Size(202, 21)
        Me.TxtBookName.TabIndex = 7
        '
        'TxtISBN
        '
        Me.TxtISBN.BackColor = System.Drawing.SystemColors.Info
        Me.TxtISBN.Enabled = False
        Me.TxtISBN.Location = New System.Drawing.Point(111, 60)
        Me.TxtISBN.Name = "TxtISBN"
        Me.TxtISBN.Size = New System.Drawing.Size(202, 21)
        Me.TxtISBN.TabIndex = 6
        '
        'TxtSN
        '
        Me.TxtSN.Location = New System.Drawing.Point(111, 26)
        Me.TxtSN.Name = "TxtSN"
        Me.TxtSN.Size = New System.Drawing.Size(202, 21)
        Me.TxtSN.TabIndex = 5
        '
        'Label5
        '
        Me.Label5.AutoSize = True
        Me.Label5.Location = New System.Drawing.Point(52, 164)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(29, 12)
        Me.Label5.TabIndex = 4
        Me.Label5.Text = "状态"
        '
        'Label4
        '
        Me.Label4.AutoSize = True
        Me.Label4.Location = New System.Drawing.Point(28, 129)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(53, 12)
        Me.Label4.TabIndex = 3
        Me.Label4.Text = "作者名称"
        '
        'Label3
        '
        Me.Label3.AutoSize = True
        Me.Label3.Location = New System.Drawing.Point(28, 95)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(53, 12)
        Me.Label3.TabIndex = 2
        Me.Label3.Text = "书籍名称"
        '
        'Label2
        '
        Me.Label2.AutoSize = True
        Me.Label2.Location = New System.Drawing.Point(52, 60)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(29, 12)
        Me.Label2.TabIndex = 1
        Me.Label2.Text = "ISBN"
        '
        'Label1
        '
        Me.Label1.AutoSize = True
        Me.Label1.Location = New System.Drawing.Point(28, 26)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(53, 12)
        Me.Label1.TabIndex = 0
        Me.Label1.Text = "书籍编号"
        '
        'GroupBox2
        '
        Me.GroupBox2.Controls.Add(Me.TxtIssuedTag)
        Me.GroupBox2.Controls.Add(Me.Label10)
        Me.GroupBox2.Controls.Add(Me.TxtTag)
        Me.GroupBox2.Controls.Add(Me.TxtAddress)
        Me.GroupBox2.Controls.Add(Me.TxtReaderName)
        Me.GroupBox2.Controls.Add(Me.TxtReaderNo)
        Me.GroupBox2.Controls.Add(Me.Label9)
        Me.GroupBox2.Controls.Add(Me.Label8)
        Me.GroupBox2.Controls.Add(Me.Label7)
        Me.GroupBox2.Controls.Add(Me.Label6)
        Me.GroupBox2.Location = New System.Drawing.Point(362, 9)
        Me.GroupBox2.Name = "GroupBox2"
        Me.GroupBox2.Size = New System.Drawing.Size(366, 198)
        Me.GroupBox2.TabIndex = 1
        Me.GroupBox2.TabStop = False
        Me.GroupBox2.Text = "读者信息"
        '
        'TxtIssuedTag
        '
        Me.TxtIssuedTag.BackColor = System.Drawing.SystemColors.Info
        Me.TxtIssuedTag.Enabled = False
        Me.TxtIssuedTag.Location = New System.Drawing.Point(112, 164)
        Me.TxtIssuedTag.Name = "TxtIssuedTag"
        Me.TxtIssuedTag.Size = New System.Drawing.Size(236, 21)
        Me.TxtIssuedTag.TabIndex = 9
        '
        'Label10
        '
        Me.Label10.AutoSize = True
        Me.Label10.Location = New System.Drawing.Point(40, 164)
        Me.Label10.Name = "Label10"
        Me.Label10.Size = New System.Drawing.Size(41, 12)
        Me.Label10.TabIndex = 8
        Me.Label10.Text = "已借书"
        '
        'TxtTag
        '
        Me.TxtTag.BackColor = System.Drawing.SystemColors.Info
        Me.TxtTag.Enabled = False
        Me.TxtTag.Location = New System.Drawing.Point(112, 129)
        Me.TxtTag.Name = "TxtTag"
        Me.TxtTag.Size = New System.Drawing.Size(236, 21)
        Me.TxtTag.TabIndex = 7
        '
        'TxtAddress
        '
        Me.TxtAddress.BackColor = System.Drawing.SystemColors.Info
        Me.TxtAddress.Enabled = False
        Me.TxtAddress.Location = New System.Drawing.Point(112, 95)
        Me.TxtAddress.Name = "TxtAddress"

⌨️ 快捷键说明

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