📄 主界面.frm
字号:
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmmain
BackColor = &H00808080&
BorderStyle = 1 'Fixed Single
Caption = "CNC数控编程仿真系统(作者:彭亚飞)"
ClientHeight = 9270
ClientLeft = 150
ClientTop = 540
ClientWidth = 13110
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
Picture = "主界面.frx":0000
ScaleHeight = 9270
ScaleWidth = 13110
StartUpPosition = 3 '窗口缺省
Begin MSComDlg.CommonDialog cmd1
Left = 10680
Top = 3000
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 100
Left = 6600
Top = 3840
End
Begin RichTextLib.RichTextBox CodeEditor
Height = 5925
Left = 1080
TabIndex = 0
Top = 600
Width = 3855
_ExtentX = 6800
_ExtentY = 10451
_Version = 393217
BackColor = 0
BorderStyle = 0
Enabled = -1 'True
ScrollBars = 2
Appearance = 0
TextRTF = $"主界面.frx":0342
End
Begin VB.TextBox TXTOR
BackColor = &H00000000&
ForeColor = &H0000FF00&
Height = 270
Index = 0
Left = 9600
Locked = -1 'True
TabIndex = 41
Text = "0"
Top = 7200
Width = 1335
End
Begin VB.TextBox TXTOR
BackColor = &H00000000&
ForeColor = &H0000FF00&
Height = 270
Index = 1
Left = 9600
Locked = -1 'True
TabIndex = 40
Text = "0"
Top = 7560
Width = 1335
End
Begin VB.TextBox TXTOR
BackColor = &H00000000&
ForeColor = &H0000FF00&
Height = 270
Index = 2
Left = 9600
Locked = -1 'True
TabIndex = 39
Text = "0"
Top = 7920
Width = 1335
End
Begin VB.TextBox txtTrue
BackColor = &H00000000&
ForeColor = &H0000FF00&
Height = 270
Index = 0
Left = 11400
TabIndex = 38
Text = "0"
Top = 7200
Width = 1215
End
Begin VB.TextBox txtTrue
BackColor = &H00000000&
ForeColor = &H0000FF00&
Height = 270
Index = 1
Left = 11400
TabIndex = 37
Text = "0"
Top = 7560
Width = 1215
End
Begin VB.TextBox txtTrue
BackColor = &H00000000&
ForeColor = &H0000FF00&
Height = 270
Index = 2
Left = 11400
TabIndex = 36
Text = "0"
Top = 7920
Width = 1215
End
Begin VB.TextBox TXTST
BackColor = &H00000000&
ForeColor = &H0000FF00&
Height = 270
Index = 0
Left = 11760
TabIndex = 7
Text = "0"
Top = 5760
Width = 975
End
Begin VB.TextBox TXTST
BackColor = &H00000000&
ForeColor = &H0000FF00&
Height = 270
Index = 1
Left = 11760
TabIndex = 6
Text = "0"
Top = 6120
Width = 975
End
Begin VB.PictureBox PicDraw
AutoRedraw = -1 'True
BackColor = &H00FFFF80&
BorderStyle = 0 'None
ForeColor = &H0000FF00&
Height = 5055
Left = 5400
Picture = "主界面.frx":03DF
ScaleHeight = 5055
ScaleWidth = 7410
TabIndex = 1
Top = 600
Width = 7410
Begin VB.Timer Timer2
Enabled = 0 'False
Interval = 100
Left = 240
Top = 3120
End
Begin VB.Shape Shape1
BackColor = &H000000FF&
BackStyle = 1 'Opaque
BorderColor = &H000000FF&
FillColor = &H0000FFFF&
FillStyle = 0 'Solid
Height = 80
Left = 4200
Top = 2760
Visible = 0 'False
Width = 80
End
Begin VB.Line Line1
BorderColor = &H00FF00FF&
BorderWidth = 2
Visible = 0 'False
X1 = 3840
X2 = 3840
Y1 = 2280
Y2 = 2880
End
Begin VB.Label Label2
BackColor = &H00000000&
Caption = "工件坐标系统"
ForeColor = &H00FF8080&
Height = 255
Index = 2
Left = 120
TabIndex = 51
Top = 120
Width = 1215
WordWrap = -1 'True
End
Begin VB.Label lblXYZ0
BackStyle = 0 'Transparent
Caption = "X"
ForeColor = &H00FFFFFF&
Height = 255
Index = 0
Left = 1800
TabIndex = 5
Top = 3960
Width = 135
End
Begin VB.Label lblXYZ0
BackStyle = 0 'Transparent
Caption = "Y"
ForeColor = &H00FFFFFF&
Height = 255
Index = 1
Left = 3480
TabIndex = 4
Top = 240
Width = 135
End
Begin VB.Label lblXYZ0
BackStyle = 0 'Transparent
Caption = "Z"
ForeColor = &H00FFFFFF&
Height = 255
Index = 2
Left = 6840
TabIndex = 3
Top = 2640
Width = 135
End
Begin VB.Label lblXYZ0
BackStyle = 0 'Transparent
Caption = "0"
ForeColor = &H00FFFFFF&
Height = 255
Index = 3
Left = 3960
TabIndex = 2
Top = 1560
Width = 135
End
End
Begin VB.Image ImgFile
Height = 690
Left = 1320
Picture = "主界面.frx":216F
Top = 7320
Width = 1395
End
Begin VB.Label lblState
Alignment = 2 'Center
BackColor = &H00000000&
Caption = "状态显示"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 495
Left = 1320
TabIndex = 50
Top = 8520
Width = 11295
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "工件坐标原点的机床坐标值:"
ForeColor = &H0000FFFF&
Height = 255
Index = 20
Left = 8640
TabIndex = 49
Top = 6960
Width = 2535
WordWrap = -1 'True
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "X:"
ForeColor = &H0000FFFF&
Height = 255
Index = 9
Left = 9360
TabIndex = 48
Top = 7200
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Y:"
ForeColor = &H0000FFFF&
Height = 255
Index = 10
Left = 9360
TabIndex = 47
Top = 7560
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Z:"
ForeColor = &H0000FFFF&
Height = 255
Index = 11
Left = 9360
TabIndex = 46
Top = 7920
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "当前点机床坐标值:"
ForeColor = &H0000FFFF&
Height = 255
Index = 15
Left = 11160
TabIndex = 45
Top = 6960
Width = 1695
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Z:"
ForeColor = &H0000FFFF&
Height = 255
Index = 16
Left = 11160
TabIndex = 44
Top = 7920
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Y:"
ForeColor = &H0000FFFF&
Height = 255
Index = 17
Left = 11160
TabIndex = 43
Top = 7560
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "X:"
ForeColor = &H0000FFFF&
Height = 255
Index = 18
Left = 11160
TabIndex = 42
Top = 7200
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "当前X值:"
ForeColor = &H0000FFFF&
Height = 255
Index = 8
Left = 5400
TabIndex = 35
Top = 5760
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "当前Y值:"
ForeColor = &H0000FFFF&
Height = 255
Index = 1
Left = 7440
TabIndex = 34
Top = 5760
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "当前Z值:"
ForeColor = &H0000FFFF&
Height = 255
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -