📄 连续梁.frm
字号:
VERSION 5.00
Begin VB.Form frmStart
Caption = "欢迎使用"
ClientHeight = 3540
ClientLeft = 60
ClientTop = 345
ClientWidth = 4035
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
ScaleHeight = 3540
ScaleWidth = 4035
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox txtEI0
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 270
Left = 900
TabIndex = 6
Text = "1"
Top = 1680
Width = 615
End
Begin VB.CommandButton Command2
Caption = "结束"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1740
TabIndex = 4
Top = 2280
Width = 915
End
Begin VB.CommandButton btnConfirm
Caption = "下一步>"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 480
TabIndex = 3
Top = 2280
Width = 975
End
Begin VB.TextBox txtN
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2160
TabIndex = 1
Text = "0"
Top = 1140
Width = 315
End
Begin VB.Label Label1
Caption = "本程序由李伟光编写"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 300
TabIndex = 9
Top = 660
Width = 2475
End
Begin VB.Label Label2
Caption = "欢迎使用连续粱计算程序!"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 300
TabIndex = 8
Top = 240
Width = 2475
End
Begin VB.Label Label6
Caption = "*10e6 kN m^2"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 1680
TabIndex = 7
Top = 1740
Width = 1095
End
Begin VB.Label Label5
Caption = "EI0 ="
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 300
TabIndex = 5
Top = 1740
Width = 495
End
Begin VB.Label Label4
Caption = "跨"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 2700
TabIndex = 2
Top = 1200
Width = 255
End
Begin VB.Label Label3
Caption = "请输入连续梁的跨数:"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 300
TabIndex = 0
Top = 1200
Width = 1935
End
End
Attribute VB_Name = "frmStart"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub btnConfirm_Click()
EI0 = Val(txtEI0.Text)
If Abs(EI0) < 0.000001 Then
respond = MsgBox("EI不能等于零!", vbExclamation + vbOKOnly, "错误")
Exit Sub
End If
N = Val(txtN.Text)
If N <= 0 Then
respond = MsgBox("跨数必须大于零!", vbExclamation + vbOKOnly, "错误")
N = 0
Else
Load frmInput
frmInput.Show
Unload Me
End If
End Sub
Private Sub Command2_Click()
Unload Me
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -