000.frm
来自「齿轮传动设计计算的开发软件」· FRM 代码 · 共 38 行
FRM
38 行
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "显示"
Height = 615
Left = 3000
TabIndex = 0
Top = 2280
Width = 1455
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Dim 半径 As Integer
Dim iCircum As Single
Dim 面积 As Single
半径 = 20
iCircum = 2 * 3.14 * 半径
面积 = 3.14 * 半径 ^ 2
Print "圆的面积=" & 半径 & ",周长=" & iCircum & ",面积=" & 面积
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?