?? 例4.5 華氏溫度轉換.frm
字號:
VERSION 5.00
Begin VB.Form Form1
Caption = "例4.5 華氏溫度轉換"
ClientHeight = 2895
ClientLeft = 60
ClientTop = 450
ClientWidth = 3390
LinkTopic = "Form1"
ScaleHeight = 2895
ScaleWidth = 3390
StartUpPosition = 3 '窗口缺省
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
Dim f As Long, c As Long
f = InputBox("請輸入華氏溫度:", "例4.5 華氏溫度轉換為攝氏溫度")
c = 5 / 9 * (f - 32)
Print "華氏溫度:"; f
Print "攝氏溫度:"; c
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -