📄 vb6+
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmMain
AutoRedraw = -1 'True
Caption = "串口驱动环形队列"
ClientHeight = 8595
ClientLeft = 6120
ClientTop = 2715
ClientWidth = 11880
DrawStyle = 3 'Dash-Dot
BeginProperty Font
Name = "幼圆"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
Picture = "MainForm.frx":0000
ScaleHeight = 573
ScaleMode = 3 'Pixel
ScaleWidth = 792
Begin MSComctlLib.ProgressBar ProgressBar2
Height = 255
Left = 0
TabIndex = 23
Top = 7320
Width = 11055
_ExtentX = 19500
_ExtentY = 450
_Version = 393216
Appearance = 1
Max = 241
End
Begin VB.PictureBox Picture1
Height = 4800
Left = 7800
Picture = "MainForm.frx":BD622
ScaleHeight = 316
ScaleMode = 3 'Pixel
ScaleWidth = 236
TabIndex = 22
Top = 1920
Width = 3600
End
Begin VB.Frame Frame4
BackColor = &H00FFFFFF&
Caption = "发送内容"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1095
Left = 0
TabIndex = 17
Top = 2400
Width = 6375
Begin VB.TextBox txtSend
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 18
Top = 480
Width = 5535
End
End
Begin VB.Frame Frame2
BackColor = &H00FFFFFF&
Caption = "接收回显"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 3735
Index = 1
Left = 0
TabIndex = 11
Top = 3480
Width = 6375
Begin VB.TextBox txtReceive
BackColor = &H00FFFFFF&
Height = 3135
Left = 120
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 21
Top = 360
Width = 4695
End
Begin VB.OptionButton chkAscii
BackColor = &H00FFFFFF&
Caption = "字符"
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4920
TabIndex = 20
Top = 240
Width = 1215
End
Begin VB.OptionButton Option3
BackColor = &H00FFFFFF&
Caption = "十六进制"
BeginProperty Font
Name = "幼圆"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4920
TabIndex = 19
Top = 720
Value = -1 'True
Width = 1335
End
End
Begin VB.Frame Frame2
BackColor = &H00FFFFFF&
Caption = "发送格式"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1815
Index = 0
Left = 8280
TabIndex = 7
Top = 0
Width = 2895
Begin VB.OptionButton OpTxFormalHex
BackColor = &H00FFFFFF&
Caption = "十六进制"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 555
Left = 360
TabIndex = 9
Top = 480
Width = 2415
End
Begin VB.OptionButton OpTxFormalAsii
BackColor = &H00FFFFFF&
Caption = "字符"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 555
Left = 360
TabIndex = 8
Top = 1080
Value = -1 'True
Width = 2415
End
End
Begin VB.CommandButton cmdManualSend_Click
BackColor = &H00C0FFFF&
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 6360
Picture = "MainForm.frx":1466AA
Style = 1 'Graphical
TabIndex = 6
Top = 0
Width = 1935
End
Begin VB.Timer Timer1
Interval = 1000
Left = 6960
Top = 6480
End
Begin MSCommLib.MSComm ctrMSComm
Left = 11160
Top = 7200
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
RThreshold = 1
BaudRate = 115200
SThreshold = 1
End
Begin MSComctlLib.ProgressBar ProgressBar1
Height = 135
Left = 0
TabIndex = 5
Top = 7200
Width = 11055
_ExtentX = 19500
_ExtentY = 238
_Version = 393216
BorderStyle = 1
Appearance = 0
MousePointer = 2
Max = 241
Scrolling = 1
End
Begin VB.CommandButton Command3
BackColor = &H00C0FFFF&
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 840
Left = -120
Picture = "MainForm.frx":149D0B
Style = 1 'Graphical
TabIndex = 4
Top = 7800
Width = 2295
End
Begin VB.CommandButton Command2
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 8760
Picture = "MainForm.frx":14D7E9
Style = 1 'Graphical
TabIndex = 3
Top = 7800
Width = 2295
End
Begin VB.Frame chkHex
BackColor = &H00FFFFFF&
Caption = "参数设置"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF00FF&
Height = 2415
Left = 0
TabIndex = 0
Top = 0
Width = 6375
Begin VB.ComboBox Combo4
Height = 435
ItemData = "MainForm.frx":1515D9
Left = 1560
List = "MainForm.frx":1515E9
TabIndex = 16
Text = "8"
Top = 1440
Width = 1215
End
Begin VB.ComboBox Combo3
BeginProperty Font
Name = "幼圆"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
ItemData = "MainForm.frx":1515F9
Left = 1560
List = "MainForm.frx":15161B
TabIndex = 12
Text = "115200"
Top = 840
Width = 1215
End
Begin VB.CommandButton Command1
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 3240
Picture = "MainForm.frx":151664
Style = 1 'Graphical
TabIndex = 2
Top = 240
Width = 2175
End
Begin VB.ComboBox Combo1
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 420
ItemData = "MainForm.frx":155EC6
Left = 1560
List = "MainForm.frx":155EDF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -