📄 frmmain.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form FrmMain
BorderStyle = 3 'Fixed Dialog
Caption = "机器人小车控制系统"
ClientHeight = 4770
ClientLeft = 45
ClientTop = 435
ClientWidth = 8430
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4770
ScaleWidth = 8430
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton CmdE
Caption = "停止"
Enabled = 0 'False
Height = 375
Left = 6960
TabIndex = 15
Top = 4320
Width = 1215
End
Begin VB.CommandButton CmdS
Caption = "启动"
Default = -1 'True
Height = 375
Left = 5760
TabIndex = 14
Top = 4320
Width = 1095
End
Begin VB.Frame Frame2
Appearance = 0 'Flat
Caption = "速度调整"
ForeColor = &H80000008&
Height = 3255
Left = 120
TabIndex = 1
Top = 960
Width = 1455
Begin VB.OptionButton Option1
Caption = "一半速度"
Height = 255
Index = 2
Left = 120
TabIndex = 5
Top = 2520
Width = 1215
End
Begin VB.OptionButton Option1
Caption = "两倍速度"
Height = 255
Index = 1
Left = 120
TabIndex = 4
Top = 1560
Width = 1215
End
Begin VB.OptionButton Option1
Caption = "默认速度"
Height = 255
Index = 0
Left = 120
TabIndex = 3
Top = 600
Value = -1 'True
Width = 1215
End
End
Begin VB.Frame Frame1
Appearance = 0 'Flat
Caption = "运动方式"
ForeColor = &H80000008&
Height = 3255
Left = 1680
TabIndex = 0
Top = 960
Width = 6615
Begin VB.CheckBox Check1
Caption = "一直运动"
Enabled = 0 'False
Height = 195
Left = 3240
TabIndex = 24
Top = 360
Value = 1 'Checked
Width = 1095
End
Begin VB.TextBox TxtBorder
Alignment = 1 'Right Justify
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 4680
TabIndex = 23
Text = "0"
Top = 2040
Width = 1095
End
Begin VB.TextBox Txt8R
Alignment = 1 'Right Justify
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 4680
TabIndex = 21
Text = "0"
Top = 2760
Width = 1095
End
Begin VB.TextBox TxtR
Alignment = 1 'Right Justify
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 4680
TabIndex = 19
Text = "0"
Top = 840
Width = 1095
End
Begin VB.TextBox TxtDis
Alignment = 1 'Right Justify
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 5280
TabIndex = 17
Text = "0"
Top = 320
Width = 855
End
Begin VB.OptionButton Option2
Caption = "走八字形"
Height = 255
Index = 7
Left = 480
TabIndex = 13
Top = 2760
Width = 1095
End
Begin VB.OptionButton Option2
Caption = "走正方形"
Height = 255
Index = 6
Left = 480
TabIndex = 12
Top = 2040
Width = 1095
End
Begin VB.OptionButton Option2
Caption = "原地右转"
Height = 255
Index = 5
Left = 1800
TabIndex = 11
Top = 1440
Width = 1095
End
Begin VB.OptionButton Option2
Caption = "原地左转"
Height = 255
Index = 4
Left = 480
TabIndex = 10
Top = 1440
Width = 1095
End
Begin VB.OptionButton Option2
Caption = "走右圆"
Height = 255
Index = 3
Left = 1800
TabIndex = 9
Top = 840
Width = 1095
End
Begin VB.OptionButton Option2
Caption = "走左圆"
Height = 255
Index = 2
Left = 480
TabIndex = 8
Top = 840
Width = 1095
End
Begin VB.OptionButton Option2
Caption = "直线后退"
Height = 255
Index = 1
Left = 1800
TabIndex = 7
Top = 360
Width = 1095
End
Begin VB.OptionButton Option2
Caption = "直线前进"
Height = 255
Index = 0
Left = 480
TabIndex = 6
Top = 360
Value = -1 'True
Width = 1095
End
Begin VB.Label Label8
Caption = "mm"
Height = 255
Left = 5880
TabIndex = 28
Top = 2760
Width = 255
End
Begin VB.Label Label7
Caption = "mm"
Height = 255
Left = 5880
TabIndex = 27
Top = 2040
Width = 255
End
Begin VB.Label Label6
Caption = "mm"
Height = 255
Left = 5880
TabIndex = 26
Top = 840
Width = 255
End
Begin VB.Label Label5
Caption = "mm"
Height = 255
Left = 6240
TabIndex = 25
Top = 360
Width = 255
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "边长:"
Height = 195
Left = 3960
TabIndex = 22
Top = 2085
Width = 405
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "八字半径:"
Height = 195
Left = 3720
TabIndex = 20
Top = 2760
Width = 765
End
Begin VB.Line Line4
X1 = 240
X2 = 6360
Y1 = 2520
Y2 = 2520
End
Begin VB.Line Line3
X1 = 240
X2 = 6360
Y1 = 1800
Y2 = 1800
End
Begin VB.Line Line2
X1 = 240
X2 = 6360
Y1 = 1200
Y2 = 1200
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "圆半径:"
Height = 195
Left = 3960
TabIndex = 18
Top = 840
Width = 585
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "运动距离:"
Height = 195
Left = 4440
TabIndex = 16
Top = 360
Width = 765
End
Begin VB.Line Line1
X1 = 240
X2 = 6360
Y1 = 720
Y2 = 720
End
End
Begin MSComctlLib.ImageList ImageBar
Left = 4080
Top = 240
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 13
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":0000
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":08DA
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":15B4
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":1E8E
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":2768
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":3442
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":3D1C
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":45F6
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":4ED0
Key = ""
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":57AA
Key = ""
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":6084
Key = ""
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":695E
Key = ""
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":7638
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar
Align = 1 'Align Top
Height = 855
Left = 0
TabIndex = 2
Top = 0
Width = 8430
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -