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

📄

📁 这是一个用vb+SQL Server数据库编写的样品检验代码。包括样品的购买库存以及检验的各项程序
💻
📖 第 1 页 / 共 3 页
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form 样品信息表 
   Caption         =   "样品信息表"
   ClientHeight    =   8160
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   11430
   Icon            =   "样品信息表.frx":0000
   LinkTopic       =   "Form2"
   ScaleHeight     =   8160
   ScaleWidth      =   11430
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton cmdsave 
      Appearance      =   0  'Flat
      Caption         =   "保存"
      Enabled         =   0   'False
      Height          =   375
      Left            =   9480
      MaskColor       =   &H00FFFFFF&
      Style           =   1  'Graphical
      TabIndex        =   5
      Top             =   1800
      Width           =   855
   End
   Begin VB.Frame Frmfind 
      Caption         =   "快速查询"
      Height          =   1215
      Left            =   6960
      TabIndex        =   30
      Top             =   120
      Width           =   4215
      Begin VB.CommandButton Cmdrefesh 
         Caption         =   "恢复"
         Height          =   375
         Left            =   360
         TabIndex        =   15
         Top             =   720
         Width           =   1095
      End
      Begin VB.CommandButton Cmdfind 
         Caption         =   "查询"
         Height          =   375
         Left            =   3120
         TabIndex        =   16
         Top             =   720
         Width           =   975
      End
      Begin VB.TextBox TextCX 
         Height          =   270
         Left            =   2040
         TabIndex        =   14
         Top             =   240
         Width           =   2055
      End
      Begin VB.ComboBox ComboCX 
         Height          =   300
         ItemData        =   "样品信息表.frx":08CA
         Left            =   360
         List            =   "样品信息表.frx":08D7
         TabIndex        =   13
         Text            =   $"样品信息表.frx":08F9
         Top             =   240
         Width           =   1455
      End
   End
   Begin TabDlg.SSTab SSTab1 
      Height          =   5535
      Left            =   120
      TabIndex        =   28
      Top             =   2280
      Width           =   11295
      _ExtentX        =   19923
      _ExtentY        =   9763
      _Version        =   393216
      Tabs            =   2
      TabHeight       =   520
      TabCaption(0)   =   "样品信息表"
      TabPicture(0)   =   "样品信息表.frx":0907
      Tab(0).ControlEnabled=   -1  'True
      Tab(0).Control(0)=   "Adodc1"
      Tab(0).Control(0).Enabled=   0   'False
      Tab(0).Control(1)=   "DataGrid1"
      Tab(0).Control(1).Enabled=   0   'False
      Tab(0).ControlCount=   2
      TabCaption(1)   =   "检验项目选择"
      TabPicture(1)   =   "样品信息表.frx":0923
      Tab(1).ControlEnabled=   0   'False
      Tab(1).Control(0)=   "DataGrid2"
      Tab(1).Control(1)=   "Adodc2"
      Tab(1).Control(2)=   "Cmdok"
      Tab(1).Control(3)=   "Cmddel"
      Tab(1).Control(4)=   "Cmdselect"
      Tab(1).Control(5)=   "Listselect"
      Tab(1).Control(6)=   "Listall"
      Tab(1).Control(7)=   "Lab_ls"
      Tab(1).Control(8)=   "Label7"
      Tab(1).Control(9)=   "Lab_select"
      Tab(1).Control(10)=   "Label6"
      Tab(1).Control(11)=   "Lab_all"
      Tab(1).Control(12)=   "Label5"
      Tab(1).ControlCount=   13
      Begin MSDataGridLib.DataGrid DataGrid2 
         Bindings        =   "样品信息表.frx":093F
         Height          =   1455
         Left            =   -74400
         TabIndex        =   31
         Top             =   2040
         Visible         =   0   'False
         Width           =   4455
         _ExtentX        =   7858
         _ExtentY        =   2566
         _Version        =   393216
         HeadLines       =   1
         RowHeight       =   15
         BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ColumnCount     =   2
         BeginProperty Column00 
            DataField       =   ""
            Caption         =   ""
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column01 
            DataField       =   ""
            Caption         =   ""
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         SplitCount      =   1
         BeginProperty Split0 
            BeginProperty Column00 
            EndProperty
            BeginProperty Column01 
            EndProperty
         EndProperty
      End
      Begin MSAdodcLib.Adodc Adodc2 
         Height          =   375
         Left            =   -70320
         Top             =   3840
         Visible         =   0   'False
         Width           =   1935
         _ExtentX        =   3413
         _ExtentY        =   661
         ConnectMode     =   0
         CursorLocation  =   3
         IsolationLevel  =   -1
         ConnectionTimeout=   15
         CommandTimeout  =   30
         CursorType      =   3
         LockType        =   3
         CommandType     =   1
         CursorOptions   =   0
         CacheSize       =   50
         MaxRecords      =   0
         BOFAction       =   0
         EOFAction       =   0
         ConnectStringType=   3
         Appearance      =   1
         BackColor       =   -2147483643
         ForeColor       =   -2147483640
         Orientation     =   0
         Enabled         =   -1
         Connect         =   "DSN=样品检测项目系统"
         OLEDBString     =   ""
         OLEDBFile       =   ""
         DataSourceName  =   "样品检测项目系统"
         OtherAttributes =   ""
         UserName        =   "sa"
         Password        =   ""
         RecordSource    =   "select * from 项目表 "
         Caption         =   "Adodc2"
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         _Version        =   393216
      End
      Begin VB.CommandButton Cmdok 
         Caption         =   "确认"
         Enabled         =   0   'False
         Height          =   375
         Left            =   -70080
         TabIndex        =   19
         Top             =   3240
         Width           =   1335
      End
      Begin VB.CommandButton Cmddel 
         Caption         =   "<----"
         Enabled         =   0   'False
         Height          =   375
         Left            =   -70080
         TabIndex        =   18
         Top             =   2160
         Width           =   1335
      End
      Begin VB.CommandButton Cmdselect 
         Caption         =   "---->"
         Enabled         =   0   'False
         Height          =   375
         Left            =   -70080
         TabIndex        =   17
         Top             =   960
         Width           =   1335
      End
      Begin VB.ListBox Listselect 
         Height          =   4560
         Left            =   -68280
         TabIndex        =   21
         Top             =   480
         Width           =   3975
      End
      Begin VB.ListBox Listall 
         Height          =   4560
         Left            =   -74400
         TabIndex        =   20
         Top             =   480
         Width           =   3975
      End
      Begin MSDataGridLib.DataGrid DataGrid1 
         Bindings        =   "样品信息表.frx":0954
         Height          =   4335
         Left            =   360
         TabIndex        =   29
         Top             =   480
         Width           =   10335
         _ExtentX        =   18230
         _ExtentY        =   7646
         _Version        =   393216
         AllowUpdate     =   0   'False
         HeadLines       =   1
         RowHeight       =   15
         FormatLocked    =   -1  'True
         BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ColumnCount     =   4
         BeginProperty Column00 
            DataField       =   "样品名称"
            Caption         =   "样品名称"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column01 
            DataField       =   "检验项目"
            Caption         =   "检验项目"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column02 
            DataField       =   "检验历史"
            Caption         =   "检验历史"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column03 
            DataField       =   "备注"
            Caption         =   "备注"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         SplitCount      =   1
         BeginProperty Split0 
            BeginProperty Column00 
               ColumnWidth     =   3119.811
            EndProperty
            BeginProperty Column01 
               ColumnWidth     =   3270.047
            EndProperty
            BeginProperty Column02 
               ColumnWidth     =   1980.284
            EndProperty
            BeginProperty Column03 

⌨️ 快捷键说明

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