📄 套筒设计.frm
字号:
VERSION 5.00
Begin VB.Form 套筒设计
Caption = "套筒设计"
ClientHeight = 4290
ClientLeft = 60
ClientTop = 450
ClientWidth = 5805
LinkTopic = "Form1"
ScaleHeight = 4290
ScaleWidth = 5805
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "OK"
Height = 735
Left = 3240
TabIndex = 7
Top = 3240
Width = 1815
End
Begin VB.CommandButton Command1
Caption = "Quit"
Height = 735
Left = 840
TabIndex = 6
Top = 3240
Width = 1695
End
Begin VB.TextBox cd
Height = 495
Left = 3600
TabIndex = 5
Text = "20"
Top = 2280
Width = 975
End
Begin VB.TextBox nj
Height = 495
Left = 3600
TabIndex = 4
Text = "50"
Top = 1320
Width = 975
End
Begin VB.TextBox wj
Height = 495
Left = 3600
TabIndex = 3
Text = "60"
Top = 360
Width = 975
End
Begin VB.Label Label4
Caption = "mm"
Height = 375
Index = 2
Left = 4680
TabIndex = 10
Top = 1440
Width = 615
End
Begin VB.Label Label4
Caption = "mm"
Height = 375
Index = 1
Left = 4680
TabIndex = 9
Top = 2400
Width = 615
End
Begin VB.Label Label4
Caption = "mm"
Height = 375
Index = 0
Left = 4680
TabIndex = 8
Top = 480
Width = 615
End
Begin VB.Label Label3
Caption = "套筒长度cdvalue"
Height = 495
Left = 960
TabIndex = 2
Top = 2160
Width = 2055
End
Begin VB.Label Label2
Caption = "套筒内径njvalue"
Height = 495
Left = 960
TabIndex = 1
Top = 1320
Width = 1935
End
Begin VB.Label Label1
Caption = "套筒外经wjvalue"
Height = 495
Left = 960
TabIndex = 0
Top = 360
Width = 1935
End
End
Attribute VB_Name = "套筒设计"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim wjvalue As Double
Dim njvalue As Double
Dim cdvalue As Double
Private Sub Command1_Click()
End '退出应用程序
End Sub
Private Sub Command2_Click()
wjvalue = Val(wj.Text) * 0.001
njvalue = Val(nj.Text) * 0.001
cdvalue = Val(cd.Text) * 0.001
Call parametricsub(wjvalue, njvalue, cdvalue)
'调用parametricsub自定义模块
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -