?? frmprocessconfig.frm
字號:
VERSION 5.00
Begin VB.Form frmProcessConfig
Caption = "加工工藝"
ClientHeight = 5325
ClientLeft = 60
ClientTop = 285
ClientWidth = 6450
LinkTopic = "Form1"
ScaleHeight = 5325
ScaleWidth = 6450
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "取 消"
Height = 375
Left = 5400
TabIndex = 13
Top = 4680
Width = 855
End
Begin VB.CommandButton cmdOK
Caption = "確 定"
Height = 375
Left = 4320
TabIndex = 12
Top = 4680
Width = 855
End
Begin VB.Frame Frame3
Caption = "工具參數"
Height = 2055
Left = 600
TabIndex = 0
Top = 2280
Width = 5415
Begin VB.TextBox txtStandardDepth
Height = 270
Left = 1080
TabIndex = 15
Text = "0"
Top = 1320
Width = 855
End
Begin VB.TextBox TxtStandardHigh
Height = 270
Left = 1080
TabIndex = 1
Text = "59"
Top = 840
Width = 855
End
Begin VB.TextBox TxtCutterWidth
Height = 270
Left = 1080
TabIndex = 2
Text = "8"
Top = 360
Width = 855
End
Begin VB.Label Label5
Caption = "圖紙中要求的材料厚度"
Height = 375
Left = 2520
TabIndex = 17
Top = 1320
Width = 2295
End
Begin VB.Label Label4
Caption = "加工起始點到底座的垂直距離(不包含墊層)"
Height = 375
Left = 2520
TabIndex = 16
Top = 840
Width = 2415
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "標厚:"
Height = 180
Left = 360
TabIndex = 14
Top = 1320
Width = 540
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "刀寬:"
Height = 180
Left = 360
TabIndex = 3
Top = 360
Width = 540
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "標高:"
Height = 180
Left = 360
TabIndex = 4
Top = 840
Width = 540
End
End
Begin VB.Frame Frame2
Caption = "加工工藝"
Height = 1455
Left = 840
TabIndex = 9
Top = 360
Width = 1695
Begin VB.CheckBox ChkSwapTwoTimes
Caption = "兩次掃底"
Height = 255
Left = 360
TabIndex = 11
Top = 480
Width = 1095
End
Begin VB.CheckBox ChkCutTwoTimes
Caption = "兩次切透"
Height = 255
Left = 360
TabIndex = 10
Top = 840
Width = 1095
End
End
Begin VB.Frame Frame1
Caption = "加工比例選擇"
Height = 1815
Left = 3480
TabIndex = 5
Top = 360
Width = 2055
Begin VB.OptionButton OptProcessFactor
Caption = "比例三"
Height = 255
Index = 2
Left = 600
TabIndex = 8
Top = 1320
Width = 855
End
Begin VB.OptionButton OptProcessFactor
Caption = "比例二"
Height = 255
Index = 1
Left = 600
TabIndex = 7
Top = 840
Width = 855
End
Begin VB.OptionButton OptProcessFactor
Caption = "比例一"
Height = 255
Index = 0
Left = 600
TabIndex = 6
Top = 360
Value = -1 'True
Width = 855
End
End
End
Attribute VB_Name = "frmProcessConfig"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCancel_Click()
Unload frmProcessConfig
End Sub
Private Sub cmdOK_Click()
GetFrmProcessConfigParam
Unload frmProcessConfig
End Sub
Private Sub GetFrmProcessConfigParam()
Dim i As Long
cutterWidth = Val(TxtCutterWidth.Text)
standardHigh = Val(TxtStandardHigh.Text)
standardDepth = Val(txtStandardDepth.Text)
cutTwoTimes = ChkCutTwoTimes.Value
swapTwoTimes = ChkSwapTwoTimes.Value
For i = 0 To 2
If OptProcessFactor(i).Value = True Then
processFactorSelect = i
End If
Next i
End Sub
Private Sub Form_Load()
'************************************
'根據參數設置界面
TxtCutterWidth.Text = cutterWidth
TxtStandardHigh.Text = standardHigh
txtStandardDepth.Text = standardDepth
ChkSwapTwoTimes.Value = swapTwoTimes
ChkCutTwoTimes.Value = cutTwoTimes
OptProcessFactor(processFactorSelect).Value = True
End Sub
Private Sub OptProcessFactor_DblClick(index As Integer)
frmBasicConfig.Show
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -