form2.frm

来自「PC和GSM模块利用串口通信」· FRM 代码 · 共 93 行

FRM
93
字号
VERSION 5.00
Begin VB.Form Form2 
   Caption         =   "报警提示"
   ClientHeight    =   3525
   ClientLeft      =   2565
   ClientTop       =   2295
   ClientWidth     =   6180
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   ScaleHeight     =   3525
   ScaleWidth      =   6180
   Begin VB.CommandButton Command1 
      Caption         =   "清空内容"
      Height          =   375
      Left            =   5040
      TabIndex        =   2
      Top             =   720
      Width           =   975
   End
   Begin VB.TextBox Text1 
      Alignment       =   2  'Center
      BackColor       =   &H00C0FFFF&
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   18
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   2175
      Left            =   120
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   1
      Top             =   1200
      Width           =   5895
   End
   Begin VB.Timer Timer1 
      Interval        =   500
      Left            =   5040
      Top             =   120
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H8000000B&
      Caption         =   "提示内容"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   18
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   495
      Left            =   1800
      TabIndex        =   0
      Top             =   240
      Width           =   3015
   End
   Begin VB.Shape Shape1 
      BackColor       =   &H8000000E&
      FillColor       =   &H000000FF&
      FillStyle       =   0  'Solid
      Height          =   735
      Left            =   720
      Shape           =   3  'Circle
      Top             =   360
      Width           =   735
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Text1.Text = ""
End Sub

Private Sub Timer1_Timer()
If Shape1.Visible = True Then
Shape1.Visible = False
Else
Shape1.Visible = True
End If
End Sub

⌨️ 快捷键说明

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