📄 form6.frm
字号:
VERSION 5.00
Begin VB.Form Form6
Caption = "Form6"
ClientHeight = 12000
ClientLeft = 60
ClientTop = 450
ClientWidth = 11565
LinkTopic = "Form6"
ScaleHeight = 12000
ScaleWidth = 11565
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame1
Caption = "井下硐室需风量计算"
Height = 11775
Left = 120
TabIndex = 0
Top = 120
Width = 11295
Begin VB.Frame Frame10
Caption = "井下硐室总需风量"
Height = 1815
Left = 480
TabIndex = 45
Top = 9600
Width = 10215
Begin VB.CommandButton Command2
Caption = "退出"
Height = 495
Left = 8040
TabIndex = 49
Top = 600
Width = 1455
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 495
Left = 6240
TabIndex = 48
Top = 600
Width = 1455
End
Begin VB.TextBox Text19
Height = 495
Left = 2760
TabIndex = 47
Top = 480
Width = 2175
End
Begin VB.Label Label19
Caption = "井下硐室总需风量(立方米/分钟):"
Height = 615
Left = 960
TabIndex = 46
Top = 600
Width = 1575
End
End
Begin VB.Frame Frame2
Caption = "输入各硐室的个数"
Height = 9015
Left = 480
TabIndex = 1
Top = 360
Width = 10335
Begin VB.Frame Frame9
Caption = "爆破材料库"
Height = 3015
Left = 5400
TabIndex = 36
Top = 5760
Width = 4455
Begin VB.TextBox Text18
Height = 375
Left = 2040
TabIndex = 44
Top = 2400
Width = 1575
End
Begin VB.TextBox Text17
Height = 375
Left = 2040
TabIndex = 43
Top = 1800
Width = 1575
End
Begin VB.TextBox Text16
Height = 375
Left = 2040
TabIndex = 42
Top = 1080
Width = 1575
End
Begin VB.TextBox Text15
Height = 375
Left = 2040
TabIndex = 41
Top = 480
Width = 1575
End
Begin VB.Label Label18
Caption = "爆破材料发放站:"
Height = 375
Left = 360
TabIndex = 40
Top = 2400
Width = 1455
End
Begin VB.Label Label17
Caption = "小型爆破材料库:"
Height = 375
Left = 360
TabIndex = 39
Top = 1800
Width = 1695
End
Begin VB.Label Label16
Caption = "中型爆破材料库:"
Height = 255
Left = 360
TabIndex = 38
Top = 1200
Width = 1695
End
Begin VB.Label Label15
Caption = "大型爆破材料库:"
Height = 255
Left = 360
TabIndex = 37
Top = 600
Width = 1575
End
End
Begin VB.Frame Frame8
Caption = "其他机电硐室"
Height = 1575
Left = 480
TabIndex = 33
Top = 7080
Width = 4575
Begin VB.TextBox Text14
Height = 375
Left = 1920
TabIndex = 35
Top = 600
Width = 1095
End
Begin VB.Label Label14
Caption = "其他机电硐室:"
Height = 375
Left = 600
TabIndex = 34
Top = 720
Width = 1335
End
End
Begin VB.Frame Frame7
Caption = "变电所"
Height = 1815
Left = 5400
TabIndex = 28
Top = 3600
Width = 4455
Begin VB.TextBox Text13
Height = 375
Left = 2160
TabIndex = 32
Top = 960
Width = 1455
End
Begin VB.TextBox Text12
Height = 375
Left = 2160
TabIndex = 31
Top = 360
Width = 1455
End
Begin VB.Label Label13
Caption = "采区变电所:"
Height = 375
Left = 360
TabIndex = 30
Top = 1080
Width = 1215
End
Begin VB.Label Label12
Caption = "中央变电所:"
Height = 495
Left = 360
TabIndex = 29
Top = 480
Width = 1815
End
End
Begin VB.Frame Frame6
Caption = "绞车房"
Height = 3015
Left = 5400
TabIndex = 19
Top = 360
Width = 4455
Begin VB.TextBox Text11
Height = 375
Left = 2400
TabIndex = 27
Top = 2160
Width = 1575
End
Begin VB.TextBox Text10
Height = 375
Left = 2400
TabIndex = 26
Top = 1560
Width = 1575
End
Begin VB.TextBox Text9
Height = 375
Left = 2400
TabIndex = 25
Top = 960
Width = 1575
End
Begin VB.TextBox Text8
Height = 375
Left = 2400
TabIndex = 24
Top = 360
Width = 1575
End
Begin VB.Label Label11
Caption = " 直径1.2m以下绞车房:"
Height = 375
Left = 480
TabIndex = 23
Top = 2280
Width = 2055
End
Begin VB.Label Label10
Caption = "直接1.2m及以上绞车房:"
Height = 375
Left = 360
TabIndex = 22
Top = 1680
Width = 2055
End
Begin VB.Label Label9
Caption = "直径1.6m及以上绞车房:"
Height = 375
Left = 360
TabIndex = 21
Top = 1080
Width = 2055
End
Begin VB.Label Label8
Caption = "直径2.0m及以上绞车房:"
Height = 375
Left = 360
TabIndex = 20
Top = 480
Width = 2055
End
End
Begin VB.Frame Frame5
Caption = "充电硐室"
Height = 1095
Left = 480
TabIndex = 10
Top = 5640
Width = 4575
Begin VB.TextBox Text7
Height = 375
Left = 1680
TabIndex = 18
Top = 360
Width = 1095
End
Begin VB.Label Label7
Caption = "充电硐室:"
Height = 375
Left = 600
TabIndex = 11
Top = 480
Width = 975
End
End
Begin VB.Frame Frame4
Caption = "空气压缩机房"
Height = 3015
Left = 480
TabIndex = 5
Top = 2280
Width = 4575
Begin VB.TextBox Text6
Height = 375
Left = 2640
TabIndex = 17
Top = 2280
Width = 855
End
Begin VB.TextBox Text5
Height = 375
Left = 2640
TabIndex = 16
Top = 1680
Width = 855
End
Begin VB.TextBox Text4
Height = 375
Left = 2640
TabIndex = 15
Top = 1080
Width = 855
End
Begin VB.TextBox Text3
Height = 375
Left = 2640
TabIndex = 14
Top = 480
Width = 855
End
Begin VB.Label Label6
Caption = "装机总容量<=40立方米的:"
Height = 375
Left = 360
TabIndex = 9
Top = 2400
Width = 2295
End
Begin VB.Label Label5
Caption = "装机总容量40-60立方米的:"
Height = 375
Left = 240
TabIndex = 8
Top = 1800
Width = 2295
End
Begin VB.Label Label4
Caption = "装机总容量60-80立方米的:"
Height = 375
Left = 240
TabIndex = 7
Top = 1200
Width = 2295
End
Begin VB.Label Label3
Caption = "装机总容量>80立方米的:"
Height = 375
Left = 480
TabIndex = 6
Top = 600
Width = 2295
End
End
Begin VB.Frame Frame3
Caption = "排水泵房"
Height = 1695
Left = 480
TabIndex = 2
Top = 360
Width = 4575
Begin VB.TextBox Text2
Height = 375
Left = 2040
TabIndex = 13
Top = 960
Width = 1215
End
Begin VB.TextBox Text1
Height = 375
Left = 2040
TabIndex = 12
Top = 240
Width = 1215
End
Begin VB.Label Label2
Caption = "采区排水泵房:"
Height = 255
Left = 240
TabIndex = 4
Top = 960
Width = 1455
End
Begin VB.Label Label1
Caption = "主排水泵房:"
Height = 255
Left = 240
TabIndex = 3
Top = 360
Width = 1215
End
End
End
End
End
Attribute VB_Name = "Form6"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim p1, p2, y1, y2, y3, y4, c1, j1, j2, j3, j4, d1, d2, q0, b1, b2, b3, b4 As Double
Dim q As Double
p1 = Val(Text1.Text)
p2 = Val(Text2.Text)
y1 = Val(Text3.Text)
y2 = Val(Text4.Text)
y3 = Val(Text5.Text)
y4 = Val(Text6.Text)
c2 = Val(Text7.Text)
j1 = Val(Text8.Text)
j2 = Val(Text9.Text)
j3 = Val(Text10.Text)
j4 = Val(Text11.Text)
d1 = Val(Text12.Text)
d2 = Val(Text13.Text)
q0 = Val(Text14.Text)
b1 = Val(Text15.Text)
b2 = Val(Text16.Text)
b3 = Val(Text17.Text)
b4 = Val(Text18.Text)
Text19.Text = q
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -