Private Sub Command1_Click()If Val(Text1.Text) > 3 Then Text2.Text = Val(Text1.Text) * 4800 * 0.9Else Text2.Text = Val(Text1.Text) * 4800End IfEnd SubPrivate Sub Form_Load()Text1.Text = ""Text2.Text = ""Command1.Caption = "计算"End Sub