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

📄 frmmain.frm

📁 完整的VB和单片机系统连接的源代码
💻 FRM
📖 第 1 页 / 共 5 页
字号:
      Width           =   2175
      Begin VB.Label Label3 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "打点记录:"
         Height          =   180
         Left            =   120
         TabIndex        =   54
         Top             =   480
         Width           =   900
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "提升次数:"
         Height          =   180
         Left            =   120
         TabIndex        =   53
         Top             =   240
         Width           =   900
      End
      Begin VB.Label lblErrX 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "过卷错误:"
         Height          =   180
         Index           =   2
         Left            =   120
         TabIndex        =   41
         Top             =   1320
         Width           =   900
      End
      Begin VB.Label lblErrX 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "超速错误:"
         Height          =   180
         Index           =   0
         Left            =   120
         TabIndex        =   40
         Top             =   840
         Width           =   900
      End
      Begin VB.Label lblErrX 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "限速错误:"
         Height          =   180
         Index           =   1
         Left            =   120
         TabIndex        =   39
         Top             =   1080
         Width           =   900
      End
      Begin VB.Label lblErrX 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "卡斗错误:"
         Height          =   180
         Index           =   3
         Left            =   120
         TabIndex        =   38
         Top             =   1560
         Width           =   900
      End
      Begin VB.Label lblErrX 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "深失错误:"
         Height          =   180
         Index           =   4
         Left            =   120
         TabIndex        =   37
         Top             =   1800
         Width           =   900
      End
      Begin VB.Label lblErrX 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "松绳错误:"
         Height          =   180
         Index           =   5
         Left            =   120
         TabIndex        =   36
         Top             =   2040
         Width           =   900
      End
      Begin VB.Label lblErr 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "0"
         Height          =   180
         Index           =   1
         Left            =   1200
         TabIndex        =   35
         Top             =   1080
         Width           =   90
      End
      Begin VB.Label lblErr 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "0"
         Height          =   180
         Index           =   5
         Left            =   1200
         TabIndex        =   34
         Top             =   2040
         Width           =   90
      End
      Begin VB.Label lblErr 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "0"
         Height          =   180
         Index           =   4
         Left            =   1200
         TabIndex        =   33
         Top             =   1800
         Width           =   90
      End
      Begin VB.Label lblErr 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "0"
         Height          =   180
         Index           =   3
         Left            =   1200
         TabIndex        =   32
         Top             =   1560
         Width           =   90
      End
      Begin VB.Label lblErr 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "0"
         Height          =   180
         Index           =   2
         Left            =   1200
         TabIndex        =   31
         Top             =   1320
         Width           =   90
      End
      Begin VB.Label lblErr 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "0"
         Height          =   180
         Index           =   0
         Left            =   1200
         TabIndex        =   26
         Top             =   840
         Width           =   90
      End
      Begin VB.Label lblClick 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "X-XXXXXXX"
         Height          =   180
         Left            =   1200
         TabIndex        =   25
         Top             =   480
         Width           =   810
      End
      Begin VB.Label lblWorktimes 
         AutoSize        =   -1  'True
         BackColor       =   &H8000000C&
         BackStyle       =   0  'Transparent
         Caption         =   "0"
         Height          =   180
         Left            =   1200
         TabIndex        =   24
         Top             =   240
         Width           =   90
      End
   End
   Begin VB.PictureBox PicShowData 
      BackColor       =   &H00FF8080&
      BorderStyle     =   0  'None
      Height          =   2295
      Left            =   480
      ScaleHeight     =   2295
      ScaleWidth      =   3375
      TabIndex        =   13
      Top             =   480
      Width           =   3375
      Begin VB.TextBox TxtShow 
         Alignment       =   1  'Right Justify
         BackColor       =   &H00404040&
         BeginProperty DataFormat 
            Type            =   0
            Format          =   "888888.8"
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   2052
            SubFormatType   =   0
         EndProperty
         BeginProperty Font 
            Name            =   "Arial"
            Size            =   42
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H000000FF&
         Height          =   1095
         Index           =   0
         Left            =   240
         Locked          =   -1  'True
         TabIndex        =   16
         TabStop         =   0   'False
         Text            =   "8888.8"
         Top             =   0
         Width           =   2775
      End
      Begin VB.TextBox TxtShow 
         Alignment       =   1  'Right Justify
         BackColor       =   &H00404040&
         BeginProperty DataFormat 
            Type            =   0
            Format          =   "0.0"
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   2052
            SubFormatType   =   0
         EndProperty
         BeginProperty Font 
            Name            =   "Arial"
            Size            =   42
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H000000FF&
         Height          =   1065
         Index           =   1
         Left            =   240
         Locked          =   -1  'True
         TabIndex        =   15
         TabStop         =   0   'False
         Text            =   "88.8"
         Top             =   1200
         Width           =   1695
      End
      Begin VB.TextBox TxtClick 
         Alignment       =   2  'Center
         BackColor       =   &H00404040&
         BeginProperty Font 
            Name            =   "Arial"
            Size            =   42
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H000000FF&
         Height          =   1065
         Index           =   0
         Left            =   2280
         Locked          =   -1  'True
         TabIndex        =   14
         TabStop         =   0   'False
         Text            =   "8"
         Top             =   1200
         Width           =   735
      End
      Begin VB.Label Label4 
         Alignment       =   1  'Right Justify
         BackStyle       =   0  'Transparent
         Caption         =   "m/s"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00C00000&
         Height          =   240
         Left            =   1920
         TabIndex        =   21
         Top             =   2040
         Width           =   360
      End
      Begin VB.Label LblDepth_ 
         Alignment       =   1  'Right Justify
         BackStyle       =   0  'Transparent
         Caption         =   "深度"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00C00000&
         Height          =   480
         Left            =   0
         TabIndex        =   20
         Top             =   600
         Width           =   240
      End
      Begin VB.Label LblClick_ 
         Alignment       =   1  'Right Justify
         BackStyle       =   0  'Transparent
         Caption         =   "打点"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00C00000&
         Height          =   480
         Left            =   3000
         TabIndex        =   19
         Top             =   1800
         Width           =   240
      End
      Begin VB.Label LblSpeed_ 
         Alignment       =   1  'Right Justify
         BackStyle       =   0  'Transparent
         Caption         =   "速度"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00C00000&
         Height          =   600
         Left            =   0
         TabIndex        =   18
         Top             =   1680
         Width           =   240
      End
      Begin VB.Label LblDepthUnit_ 
         Alignment       =   1  'Right Justify
         BackStyle       =   0  'Transparent
         Caption         =   "m"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00C00000&
         Height          =   240
         Left            =   3120
         TabIndex        =   17
         Top             =   840
         Width           =   120
      End
   End
   Begin VB.PictureBox PicStatus 
      BackColor       =   &H00FF8080&
      BorderStyle     =   0  'None
      Height          =   2175
      Left            =   4680
      ScaleHeight     =   2175
      ScaleWidth      =   2775
      TabIndex        =   3
      Top             =   480
      Width           =   2775
      Begin VB.Label LblStateLed 
         Alignment       =   2  'Center
         BackColor       =   &H00000000&
         BorderStyle     =   1  'Fixed Single
         Caption         =   "超速"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   15.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H0000FF00&
         Height          =   450

⌨️ 快捷键说明

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