?? shuilv.frm
字號:
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.TextBox Text1
Height = 1095
Left = 120
TabIndex = 1
Top = 120
Width = 2655
End
Begin VB.CommandButton Command1
Caption = "計算"
Height = 1575
Left = 3480
TabIndex = 0
Top = 840
Width = 855
End
Begin VB.Label Label1
Height = 975
Left = 120
TabIndex = 2
Top = 1320
Width = 2655
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim n!, s!
n = Text1.Text
If n >= 0 Then
Select Case n
Case Is < 1600
s = 0
Case Is < 2100
s = n - ((n - 1600) * 0.05)
Case Is < 3600
s = n - ((n - 1600) * 0.1 - 25)
Case Is < 6600
s = n - ((n - 1600) * 0.15 - 125)
Case Is < 21600
s = n - ((n - 1600) * 0.2 - 375)
End Select
End If
Label1.Caption = s
End Sub
Private Sub Label1_Click()
End Sub
Private Sub Text1_Change()
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -