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

📄 frmgrsd6.frm

📁 个人所得税 学习(VB)
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmgrsd6 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "对企事业单位承包、承租经营所得"
   ClientHeight    =   2520
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   7785
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2520
   ScaleWidth      =   7785
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command2 
      Caption         =   "退   出"
      Height          =   375
      Left            =   6720
      TabIndex        =   1
      Top             =   480
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "输  入"
      Height          =   375
      Left            =   5280
      TabIndex        =   0
      Top             =   480
      Width           =   975
   End
   Begin VB.Label Label4 
      Caption         =   "单击“输入”按钮,输入你一个纳税年度的应税所得额。"
      BeginProperty Font 
         Name            =   "微软简隶书"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   240
      TabIndex        =   5
      Top             =   240
      Width           =   4695
   End
   Begin VB.Label Label3 
      Caption         =   "您本月应缴纳个人所得税为:"
      BeginProperty Font 
         Name            =   "幼圆"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   495
      Left            =   240
      TabIndex        =   4
      Top             =   1200
      Width           =   3015
   End
   Begin VB.Label Label2 
      Alignment       =   1  'Right Justify
      AutoSize        =   -1  'True
      Caption         =   "元(人民币)"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   300
      Left            =   5760
      TabIndex        =   3
      Top             =   1800
      Width           =   1995
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      BorderStyle     =   1  'Fixed Single
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   18
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   2760
      TabIndex        =   2
      Top             =   1680
      Width           =   2895
   End
End
Attribute VB_Name = "frmgrsd6"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

 Dim sde As Currency       '声明应纳税所得(sde)为变比整型变量
Private Sub Command1_Click()
    Call shuru(tmp)
    sde = CCur(tmp)
    
    If sde <= 0 Then
      Label1.Caption = "您不用纳税!"
      ElseIf sde > 0 And sde < 5000 Then
          Label1.Caption = CStr(sde * 0.05)
      ElseIf sde < 10000 Then
          Label1.Caption = CStr(sde * 0.1 + 250)
      ElseIf sde < 30000 Then
          Label1.Caption = CStr(sde * 0.2 + 1250)
      ElseIf sde < 50000 Then
          Label1.Caption = CStr(sde * 0.3 + 4250)
      ElseIf sde > 50000 Then
          Label1.Caption = CStr(sde * 0.35 + 6750)
    End If
 Exit Sub
  
 
  
End Sub

Private Sub Command2_Click()
    
    Unload frmgrsd6
    frmgrsd.Show
    
    
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -