form2.frm

来自「可以有助于实现无线发送和接受」· FRM 代码 · 共 96 行

FRM
96
字号
VERSION 5.00
Begin VB.Form Form2 
   Caption         =   "发送AT命令"
   ClientHeight    =   5505
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   7350
   Icon            =   "Form2.frx":0000
   LinkTopic       =   "Form2"
   ScaleHeight     =   5505
   ScaleWidth      =   7350
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   375
      Left            =   4680
      TabIndex        =   5
      Top             =   5040
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "发送"
      Height          =   375
      Left            =   1320
      TabIndex        =   4
      Top             =   5040
      Width           =   1215
   End
   Begin VB.TextBox Text3 
      Height          =   3615
      Left            =   3960
      TabIndex        =   2
      Top             =   1200
      Width           =   2775
   End
   Begin VB.TextBox Text2 
      Height          =   3615
      Left            =   600
      TabIndex        =   1
      Top             =   1200
      Width           =   2775
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   600
      TabIndex        =   0
      Top             =   600
      Width           =   2775
   End
   Begin VB.Label Label1 
      Caption         =   "IMEI"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   600
      TabIndex        =   3
      Top             =   120
      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()

If Text2.Text = "" Then
 MsgBox "请输入AT命令!", vbOKOnly + vbInformation, "注意"
Else
 Call fasongAT
End If
End Sub

Private Sub Command2_Click()

Form2.Hide
Form2state = False

End Sub

Private Sub Form_Load()

Text3.Enabled = False
Text3.BackColor = &H80000004

End Sub

⌨️ 快捷键说明

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