📄 form5.frm
字号:
VERSION 5.00
Begin VB.Form 荷载参数
Caption = "荷载参数输入"
ClientHeight = 3120
ClientLeft = 5520
ClientTop = 3150
ClientWidth = 4920
LinkTopic = "Form5"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3120
ScaleWidth = 4920
Begin VB.Frame Frame1
Caption = "荷载参数输入"
Height = 2895
Left = 120
TabIndex = 0
Top = 120
Width = 4695
Begin VB.CommandButton Command1
Caption = "取消"
Height = 495
Left = 3240
TabIndex = 9
Top = 2040
Width = 1215
End
Begin VB.CommandButton cmdconfirm
Caption = "确定"
Height = 495
Left = 240
TabIndex = 8
Top = 2040
Width = 1215
End
Begin VB.CommandButton cmdreinput
Caption = "重新输入"
Height = 495
Left = 1740
TabIndex = 7
Top = 2040
Width = 1215
End
Begin VB.TextBox txtQny
Height = 390
Left = 2160
TabIndex = 5
Top = 1080
Width = 1215
End
Begin VB.TextBox txtQwy
Height = 390
Left = 2160
TabIndex = 2
Top = 585
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 = 3
Left = 3720
TabIndex = 6
Top = 1200
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 = 255
Index = 1
Left = 720
TabIndex = 4
Top = 1200
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 = 2
Left = 3720
TabIndex = 3
Top = 600
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 = 255
Index = 0
Left = 120
TabIndex = 1
Top = 720
Width = 1935
End
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()
Qwy = Val(txtQwy.Text)
Qny = Val(txtQny.Text)
If Qwy < 0.000001 And Qny < 0.000001 Then
respond = MsgBox("荷载不能全部等于零!", vbExclamation + vbOKOnly, "错误")
Exit Sub
End If
Unload Me
End Sub
Private Sub cmdreinput_Click()
txtQwy.Text = ""
txtQny.Text = ""
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -