⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shuilv.frm

📁 VB初级练习源码适合刚学习VB的人练习。。。。
💻 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 + -