📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "串口小助手 v1.03"
ClientHeight = 4935
ClientLeft = -150
ClientTop = 435
ClientWidth = 7905
Icon = "Form1.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4935
ScaleWidth = 7905
Begin VB.TextBox Text8
Height = 375
Left = 240
TabIndex = 42
Text = "Text8"
Top = 5040
Width = 7455
End
Begin VB.CommandButton Command8
Caption = "发送"
Height = 300
Left = 7160
TabIndex = 41
Top = 4080
Width = 615
End
Begin VB.CommandButton Command7
Caption = ">>"
Height = 300
Left = 6760
TabIndex = 19
Top = 4080
Width = 375
End
Begin VB.TextBox Text7
Height = 300
Left = 3000
TabIndex = 17
Top = 4100
Width = 3715
End
Begin VB.CommandButton Command6
Caption = "计数清零"
Height = 375
Left = 5520
TabIndex = 16
Top = 4460
Width = 1095
End
Begin VB.TextBox Text6
Alignment = 2 'Center
Height = 300
Left = 4440
Locked = -1 'True
TabIndex = 15
Text = "Text6"
Top = 4520
Width = 975
End
Begin VB.TextBox Text5
Alignment = 2 'Center
Height = 300
Left = 3360
Locked = -1 'True
TabIndex = 14
Text = "Text5"
Top = 4520
Width = 975
End
Begin VB.TextBox Text4
Height = 300
Left = 2640
TabIndex = 13
Text = "Text4"
Top = 4520
Width = 615
End
Begin VB.TextBox Text3
Height = 300
Left = 3000
TabIndex = 11
Top = 3680
Width = 4800
End
Begin VB.Frame Frame2
Caption = "发送/接收"
Height = 1760
Left = 50
TabIndex = 7
Top = 2700
Width = 2295
Begin VB.PictureBox Picture5
BorderStyle = 0 'None
Height = 1400
Left = 140
ScaleHeight = 1395
ScaleWidth = 2100
TabIndex = 32
Top = 280
Width = 2100
Begin VB.PictureBox Picture3
BorderStyle = 0 'None
Height = 330
Left = 1440
ScaleHeight = 330
ScaleWidth = 690
TabIndex = 39
Top = 340
Width = 690
Begin VB.CommandButton Command5
Caption = "清空"
Height = 255
Left = 0
TabIndex = 40
Top = 0
Width = 615
End
End
Begin VB.PictureBox Picture2
BorderStyle = 0 'None
Height = 735
Left = 1090
ScaleHeight = 735
ScaleWidth = 1035
TabIndex = 37
Top = 680
Width = 1035
Begin VB.CommandButton Command3
Caption = "接收(&R)"
Height = 300
Left = 0
TabIndex = 38
Top = 360
Width = 975
End
Begin VB.CommandButton Command2
Caption = "发送(&S)"
Height = 300
Left = 0
TabIndex = 1
Top = 0
Width = 975
End
End
Begin VB.CheckBox Check4
Caption = "自动发送"
Height = 255
Left = 0
TabIndex = 36
Top = 1080
Width = 1095
End
Begin VB.CheckBox Check3
Caption = "停止显示"
Height = 255
Left = 0
TabIndex = 35
Top = 720
Width = 1455
End
Begin VB.CheckBox Check2
Caption = "十六进制发送"
Height = 255
Left = 0
TabIndex = 34
Top = 360
Width = 1455
End
Begin VB.CheckBox Check1
Caption = "十六进制显示"
Height = 255
Left = 0
TabIndex = 33
Top = 0
Width = 1455
End
Begin VB.Shape Shape2
BackColor = &H000000FF&
BackStyle = 1 'Opaque
Height = 255
Left = 1560
Shape = 3 'Circle
Top = 0
Width = 255
End
End
End
Begin VB.CommandButton Command4
Caption = "关闭"
Height = 375
Left = 6670
TabIndex = 4
Top = 4460
Width = 1095
End
Begin VB.TextBox Text2
Height = 2750
Left = 2400
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 3
Top = 240
Width = 5415
End
Begin VB.TextBox Text1
Height = 300
Left = 3000
TabIndex = 2
Text = "wgking@126.com"
Top = 3260
Width = 4800
End
Begin VB.Frame Frame1
Caption = "设置"
Height = 2655
Left = 50
TabIndex = 6
Top = 0
Width = 2295
Begin VB.PictureBox Picture4
BorderStyle = 0 'None
Height = 2415
Left = 200
ScaleHeight = 2415
ScaleWidth = 2055
TabIndex = 20
Top = 200
Width = 2055
Begin VB.PictureBox Picture1
BorderStyle = 0 'None
Height = 420
Left = 800
ScaleHeight = 420
ScaleWidth = 1215
TabIndex = 26
Top = 1960
Width = 1215
Begin VB.CommandButton Command1
Caption = "打开端口"
Height = 375
Left = 20
TabIndex = 0
Top = 0
Width = 1095
End
End
Begin VB.ComboBox Combo5
Height = 300
Left = 840
Style = 2 'Dropdown List
TabIndex = 25
Top = 1560
Width = 1095
End
Begin VB.ComboBox Combo4
Height = 300
Left = 840
Style = 2 'Dropdown List
TabIndex = 24
Top = 1170
Width = 1095
End
Begin VB.ComboBox Combo3
Height = 300
Left = 840
Style = 2 'Dropdown List
TabIndex = 23
Top = 780
Width = 1095
End
Begin VB.ComboBox Combo2
Height = 300
Left = 840
Style = 2 'Dropdown List
TabIndex = 22
Top = 380
Width = 1095
End
Begin VB.ComboBox Combo1
Height = 300
Left = 840
Style = 2 'Dropdown List
TabIndex = 21
Top = 0
Width = 1095
End
Begin VB.Label Label10
Caption = "检验和:"
Height = 255
Left = 0
TabIndex = 31
Top = 1660
Width = 735
End
Begin VB.Shape Shape1
BackColor = &H000000FF&
BackStyle = 1 'Opaque
Height = 255
Left = 165
Shape = 3 'Circle
Top = 2040
Width = 255
End
Begin VB.Label Label6
Caption = "停止位:"
Height = 255
Left = 0
TabIndex = 30
Top = 1280
Width = 735
End
Begin VB.Label Label5
Caption = "数据位:"
Height = 255
Left = 0
TabIndex = 29
Top = 880
Width = 735
End
Begin VB.Label Label4
Caption = "波特率:"
Height = 255
Left = 0
TabIndex = 28
Top = 440
Width = 735
End
Begin VB.Label Label3
Caption = "端口号:"
Height = 255
Left = 0
TabIndex = 27
Top = 60
Width = 735
End
End
End
Begin VB.Timer Timer2
Left = 6600
Top = 1920
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 10
Left = 6000
Top = 1920
End
Begin VB.Shape Shape3
BorderColor = &H00FF0000&
Height = 400
Left = 50
Top = 4480
Visible = 0 'False
Width = 1335
End
Begin VB.Label Label11
Caption = " File"
Height = 255
Left = 2400
TabIndex = 18
Top = 4155
Width = 615
End
Begin VB.Image Image1
Height = 420
Left = 50
Picture = "Form1.frx":0E42
Top = 4500
Width = 1275
End
Begin VB.Label Label9
Caption = "发送频率(ms):"
Height = 255
Left = 1460
TabIndex = 12
Top = 4600
Width = 1335
End
Begin VB.Label Label8
Caption = " Hex"
Height = 255
Left = 2400
TabIndex = 10
Top = 3770
Width = 615
End
Begin VB.Label Label7
Caption = " Chr"
Height = 255
Left = 2400
TabIndex = 9
Top = 3340
Width = 615
End
Begin VB.Label Label1
Caption = "发送:"
Height = 255
Left = 2520
TabIndex = 8
Top = 3060
Width = 855
End
Begin VB.Label Label2
Caption = "接收:"
Height = 255
Left = 2520
TabIndex = 5
Top = 0
Width = 495
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -