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

📄 frmbookbrowse.frm

📁 自考软件工程_宋瑞峰 自考软件工程_宋瑞峰
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form FrmBookBrowse 
   Caption         =   "图书浏览"
   ClientHeight    =   7770
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   11100
   Icon            =   "FrmBookBrowse.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   7770
   ScaleWidth      =   11100
   StartUpPosition =   1  '所有者中心
   Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1 
      Height          =   4575
      Left            =   480
      TabIndex        =   23
      Top             =   3000
      Width           =   10215
      _ExtentX        =   18018
      _ExtentY        =   8070
      _Version        =   393216
   End
   Begin VB.CommandButton CmdAllBook 
      Caption         =   "所有图书"
      Height          =   855
      Left            =   2760
      Picture         =   "FrmBookBrowse.frx":030A
      Style           =   1  'Graphical
      TabIndex        =   22
      Top             =   1920
      Width           =   855
   End
   Begin VB.CommandButton CmdNewBook 
      Caption         =   "最新图书"
      Height          =   855
      Left            =   3720
      Picture         =   "FrmBookBrowse.frx":0BD4
      Style           =   1  'Graphical
      TabIndex        =   21
      Top             =   1920
      Width           =   855
   End
   Begin VB.CommandButton CmdOutBook 
      Caption         =   "外借图书"
      Height          =   855
      Left            =   5640
      Picture         =   "FrmBookBrowse.frx":149E
      Style           =   1  'Graphical
      TabIndex        =   20
      Top             =   1920
      Width           =   855
   End
   Begin VB.CommandButton CmdHomeBook 
      Caption         =   "在馆图书"
      Height          =   855
      Left            =   4680
      Picture         =   "FrmBookBrowse.frx":17A8
      Style           =   1  'Graphical
      TabIndex        =   19
      Top             =   1920
      Width           =   855
   End
   Begin VB.TextBox Text1 
      Appearance      =   0  'Flat
      Height          =   300
      Index           =   2
      Left            =   3960
      TabIndex        =   16
      Top             =   1440
      Width           =   2895
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      Index           =   2
      Left            =   600
      TabIndex        =   15
      Text            =   "Combo1"
      Top             =   1440
      Width           =   2175
   End
   Begin VB.ComboBox Combo2 
      Height          =   300
      Index           =   2
      Left            =   3000
      TabIndex        =   14
      Text            =   "Combo2"
      Top             =   1440
      Width           =   735
   End
   Begin VB.TextBox Text1 
      Appearance      =   0  'Flat
      Height          =   300
      Index           =   1
      Left            =   3960
      TabIndex        =   13
      Top             =   960
      Width           =   2895
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      Index           =   1
      Left            =   600
      TabIndex        =   12
      Text            =   "Combo1"
      Top             =   960
      Width           =   2175
   End
   Begin VB.ComboBox Combo2 
      Height          =   300
      Index           =   1
      Left            =   3000
      TabIndex        =   11
      Text            =   "Combo2"
      Top             =   960
      Width           =   735
   End
   Begin VB.CheckBox Check1 
      Caption         =   "执行模糊查询"
      Height          =   255
      Left            =   480
      TabIndex        =   10
      Top             =   2400
      Width           =   1935
   End
   Begin VB.CommandButton CmdExit 
      Caption         =   "退出"
      Height          =   855
      Left            =   9840
      Picture         =   "FrmBookBrowse.frx":1AB2
      Style           =   1  'Graphical
      TabIndex        =   9
      Top             =   1920
      Width           =   855
   End
   Begin VB.CommandButton CmdPrint 
      Caption         =   "打印"
      Height          =   855
      Left            =   8760
      Picture         =   "FrmBookBrowse.frx":1DBC
      Style           =   1  'Graphical
      TabIndex        =   4
      Top             =   1920
      Width           =   855
   End
   Begin VB.CommandButton CmdExportExcel 
      Caption         =   "导出Excel"
      Height          =   855
      Left            =   7800
      Picture         =   "FrmBookBrowse.frx":455E
      Style           =   1  'Graphical
      TabIndex        =   3
      Top             =   1920
      Width           =   855
   End
   Begin VB.CommandButton CmdSearch 
      Caption         =   "查询"
      Height          =   855
      Left            =   6840
      Picture         =   "FrmBookBrowse.frx":4868
      Style           =   1  'Graphical
      TabIndex        =   2
      Top             =   1920
      Width           =   855
   End
   Begin VB.Frame Frame1 
      Caption         =   "查询条件"
      Height          =   1695
      Left            =   240
      TabIndex        =   0
      Top             =   120
      Width           =   8655
      Begin VB.ComboBox Combo4 
         Height          =   300
         Left            =   7080
         TabIndex        =   18
         Text            =   "Combo4"
         Top             =   840
         Width           =   735
      End
      Begin VB.ComboBox Combo3 
         Height          =   300
         Left            =   7080
         TabIndex        =   17
         Text            =   "Combo3"
         Top             =   360
         Width           =   735
      End
      Begin VB.ComboBox Combo2 
         Height          =   300
         Index           =   0
         Left            =   2760
         TabIndex        =   6
         Text            =   "Combo2"
         Top             =   360
         Width           =   735
      End
      Begin VB.ComboBox Combo1 
         Height          =   300
         Index           =   0
         Left            =   360
         TabIndex        =   5
         Text            =   "Combo1"
         Top             =   360
         Width           =   2175
      End
      Begin VB.TextBox Text1 
         Appearance      =   0  'Flat
         Height          =   300
         Index           =   0
         Left            =   3720
         TabIndex        =   1
         Top             =   360
         Width           =   2895
      End
   End
   Begin VB.Label Label1 
      Caption         =   "查询结果"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   255
      Left            =   9480
      TabIndex        =   8
      Top             =   240
      Width           =   1095
   End
   Begin VB.Label LblResult 
      ForeColor       =   &H000000FF&
      Height          =   1095
      Left            =   9240
      TabIndex        =   7
      Top             =   600
      Width           =   1455
   End
End
Attribute VB_Name = "FrmBookBrowse"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim SQL As String

Private Sub CmdAllBook_Click()
SQL = "SELECT 图书编号,书名,作者,出版社,类别,价钱,总库存量,剩余量,入库日期 FROM book"
DisplayFlexGrid (SQL)
End Sub

Private Sub CmdExit_Click()

⌨️ 快捷键说明

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