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

📄 frmmain.frm

📁 这是一本学习串口编程喝计算机监控的好书里面是用VB开发的源代码
💻 FRM
📖 第 1 页 / 共 4 页
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Begin VB.Form frmMain 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "短信猫综合测试"
   ClientHeight    =   6825
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   8145
   Icon            =   "frmMain.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   ScaleHeight     =   6825
   ScaleWidth      =   8145
   StartUpPosition =   2  'CenterScreen
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   330
      Left            =   1200
      Top             =   5640
      Visible         =   0   'False
      Width           =   2655
      _ExtentX        =   4683
      _ExtentY        =   582
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   8
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   1
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   ""
      OLEDBString     =   ""
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   ""
      Caption         =   "Adodc1"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      _Version        =   393216
   End
   Begin VB.Frame Frame5 
      Caption         =   "短信与SIM卡电话簿管理"
      Height          =   3015
      Left            =   240
      TabIndex        =   24
      Top             =   2280
      Width           =   7695
      Begin VB.CommandButton cmdZeroGroup 
         Caption         =   "清空"
         Height          =   375
         Left            =   6840
         TabIndex        =   50
         ToolTipText     =   "清空计算机数据库"
         Top             =   600
         Width           =   735
      End
      Begin VB.CommandButton cmdDelGroup 
         Caption         =   "删除"
         Height          =   375
         Left            =   6000
         TabIndex        =   49
         ToolTipText     =   "删除数据库记录"
         Top             =   600
         Width           =   735
      End
      Begin VB.CommandButton cmdGroup 
         Caption         =   "群发"
         Height          =   375
         Left            =   6000
         TabIndex        =   25
         Top             =   240
         Width           =   735
      End
      Begin VB.CommandButton cmdDel 
         Caption         =   "删除"
         Height          =   375
         Left            =   6000
         TabIndex        =   32
         ToolTipText     =   "删除SIM卡中的数据"
         Top             =   1440
         Visible         =   0   'False
         Width           =   735
      End
      Begin VB.CommandButton cmdAll 
         Caption         =   "所有"
         Height          =   375
         Left            =   6000
         TabIndex        =   30
         Top             =   1080
         Visible         =   0   'False
         Width           =   735
      End
      Begin VB.CommandButton cmdSIMZero 
         Caption         =   "清空"
         Height          =   375
         Left            =   6960
         TabIndex        =   44
         ToolTipText     =   "清空计算机数据库"
         Top             =   2520
         Visible         =   0   'False
         Width           =   615
      End
      Begin VB.CommandButton cmdAdjust 
         Caption         =   "A"
         Height          =   375
         Left            =   7320
         TabIndex        =   48
         ToolTipText     =   "调整序号"
         Top             =   2160
         Visible         =   0   'False
         Width           =   255
      End
      Begin VB.CommandButton cmdNum 
         Caption         =   "N"
         Height          =   375
         Left            =   7080
         TabIndex        =   45
         ToolTipText     =   "放大序号"
         Top             =   2160
         Visible         =   0   'False
         Width           =   255
      End
      Begin VB.CommandButton cmdClsSIM 
         Caption         =   "擦除"
         Height          =   375
         Left            =   6360
         TabIndex        =   43
         Top             =   2520
         Visible         =   0   'False
         Width           =   615
      End
      Begin MSDataGridLib.DataGrid DG_Book 
         Bindings        =   "frmMain.frx":0442
         Height          =   2415
         Left            =   120
         TabIndex        =   42
         Top             =   360
         Width           =   4935
         _ExtentX        =   8705
         _ExtentY        =   4260
         _Version        =   393216
         HeadLines       =   1
         RowHeight       =   15
         FormatLocked    =   -1  'True
         AllowAddNew     =   -1  'True
         AllowDelete     =   -1  'True
         BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ColumnCount     =   4
         BeginProperty Column00 
            DataField       =   "Location"
            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       =   "Name"
            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       =   "Phone"
            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       =   "Sort"
            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     =   494.929
            EndProperty
            BeginProperty Column01 
               ColumnWidth     =   1425.26
            EndProperty
            BeginProperty Column02 
               ColumnWidth     =   1695.118
            EndProperty
            BeginProperty Column03 
               ColumnWidth     =   689.953
            EndProperty
         EndProperty
      End
      Begin VB.CommandButton cmdAdd 
         Caption         =   "增加"
         Height          =   375
         Left            =   6840
         TabIndex        =   41
         Top             =   240
         Width           =   735
      End
      Begin MSDataGridLib.DataGrid DG_Group 
         Bindings        =   "frmMain.frx":0457
         Height          =   2415
         Left            =   120
         TabIndex        =   40
         Top             =   360
         Width           =   4935
         _ExtentX        =   8705
         _ExtentY        =   4260
         _Version        =   393216
         HeadLines       =   1
         RowHeight       =   15
         FormatLocked    =   -1  'True
         AllowAddNew     =   -1  'True
         AllowDelete     =   -1  'True
         BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ColumnCount     =   4
         BeginProperty Column00 
            DataField       =   "ID"
            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       =   "Name"
            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       =   "Phone"
            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       =   "Remark"
            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     =   569.764
            EndProperty
            BeginProperty Column01 
               ColumnWidth     =   1484.787
            EndProperty
            BeginProperty Column02 
               ColumnWidth     =   1275.024
            EndProperty
            BeginProperty Column03 
               ColumnWidth     =   989.858
            EndProperty
         EndProperty
      End
      Begin VB.CommandButton cmdZero 
         Caption         =   "清空"
         Height          =   375
         Left            =   6840
         TabIndex        =   39
         ToolTipText     =   "清空计算机数据库"
         Top             =   1440
         Visible         =   0   'False
         Width           =   735
      End
      Begin VB.CommandButton cmdWriteSim 
         Caption         =   "写入"
         Height          =   375
         Left            =   5760
         TabIndex        =   38
         Top             =   2520
         Visible         =   0   'False
         Width           =   615
      End
      Begin VB.CommandButton cmdReadSIM 
         Caption         =   "读取"
         Height          =   375
         Left            =   5160
         TabIndex        =   37
         Top             =   2520
         Visible         =   0   'False
         Width           =   615
      End
      Begin VB.CommandButton cmdCard 
         Caption         =   "卡"
         Height          =   375
         Left            =   6600
         TabIndex        =   36
         Top             =   2160
         Visible         =   0   'False
         Width           =   375
      End
      Begin VB.TextBox txtName_Len 
         Height          =   315
         Left            =   6240
         TabIndex        =   35
         ToolTipText     =   "名称长度"
         Top             =   2160
         Visible         =   0   'False

⌨️ 快捷键说明

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