📄 材料.frm
字号:
VERSION 5.00
Begin VB.Form 材料
Caption = "材料参数输入"
ClientHeight = 5715
ClientLeft = 5625
ClientTop = 3465
ClientWidth = 4770
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5715
ScaleWidth = 4770
Begin VB.TextBox txtfy
Height = 375
Left = 2160
TabIndex = 19
Top = 4200
Width = 1215
End
Begin VB.TextBox txtrz
Height = 375
Left = 2160
TabIndex = 18
Top = 2400
Width = 1215
End
Begin VB.Frame frm材料参数输入
Caption = "材料参数输入"
Height = 5535
Left = 120
TabIndex = 0
Top = 120
Width = 4575
Begin VB.CommandButton Command1
Caption = "取消"
Height = 495
Left = 3120
TabIndex = 11
Top = 4680
Width = 1215
End
Begin VB.CommandButton cmdconfirm
Caption = "确定"
Height = 495
Left = 240
TabIndex = 10
Top = 4680
Width = 1215
End
Begin VB.CommandButton cmdreinput
Caption = "重新输入"
Height = 495
Left = 1680
TabIndex = 7
Top = 4680
Width = 1215
End
Begin VB.TextBox txtFt
Height = 375
Left = 2040
TabIndex = 6
Top = 3120
Width = 1215
End
Begin VB.TextBox txtu
Height = 375
Left = 2040
TabIndex = 4
Top = 1380
Width = 1215
End
Begin VB.TextBox txtEc
Height = 375
Left = 2040
TabIndex = 2
Top = 540
Width = 1215
End
Begin VB.Label Label1
Caption = "N/mm2"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 10
Left = 3720
TabIndex = 17
Top = 4080
Width = 735
End
Begin VB.Label Label1
Caption = "Kg/m3"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 9
Left = 3720
TabIndex = 16
Top = 2400
Width = 735
End
Begin VB.Label Label1
Caption = "配筋设计钢筋抗拉强度设计值:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 7
Left = 120
TabIndex = 14
Top = 3960
Width = 1575
End
Begin VB.Label Label1
Caption = "混凝土容重:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 6
Left = 120
TabIndex = 13
Top = 2280
Width = 2055
End
Begin VB.Label Label1
Caption = "N/mm2"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 5
Left = 3720
TabIndex = 9
Top = 3240
Width = 615
End
Begin VB.Label Label1
Caption = "N/mm2"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 2
Left = 3720
TabIndex = 8
Top = 600
Width = 615
End
Begin VB.Label Label1
Caption = "混凝土轴心抗拉强度设计值:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 4
Left = 120
TabIndex = 5
Top = 3120
Width = 1455
End
Begin VB.Label Label1
Caption = "混凝土泊松比:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 120
TabIndex = 3
Top = 1440
Width = 2055
End
Begin VB.Label Label1
Caption = "混凝土弹性模量:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 0
Left = 120
TabIndex = 1
Top = 600
Width = 2055
End
End
Begin VB.Label Label1
Caption = "MPa"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 8
Left = 4080
TabIndex = 15
Top = 2400
Width = 375
End
Begin VB.Label Label1
Caption = "混凝土泊松比:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 3
Left = 240
TabIndex = 12
Top = 2280
Width = 2055
End
End
Attribute VB_Name = "材料"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdconfirm_Click()
Ec = Val(txtEc.Text)
If Ec < 0.000001 Then
respond = MsgBox("混凝土弹性模量不能等于零!", vbExclamation + vbOKOnly, "错误")
Exit Sub
End If
u = Val(txtu.Text)
If u < 0.000001 Then
respond = MsgBox("混凝土泊松比不能等于零!", vbExclamation + vbOKOnly, "错误")
Exit Sub
End If
rz = Val(txtrz.Text)
If rz < 0.000001 Then
respond = MsgBox("混凝土容重不能等于零!", vbExclamation + vbOKOnly, "错误")
Exit Sub
End If
Ft = Val(txtFt.Text)
If Ft < 0.000001 Then
respond = MsgBox("混凝土轴心抗拉强度不能等于零!", vbExclamation + vbOKOnly, "错误")
Exit Sub
End If
fy = Val(txtfy.Text)
If fy < 0.000001 Then
respond = MsgBox("钢筋抗拉强度不能等于零!", vbExclamation + vbOKOnly, "错误")
Exit Sub
End If
Unload Me
End Sub
Private Sub cmdreinput_Click()
txtEc.Text = ""
txtu.Text = ""
txtFt.Text = ""
txtfz.Text = ""
txtrz.Text = ""
End Sub
Private Sub Command1_Click()
End
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -