انجمن برنامه نویسان
.:: Your Adversing Here ::.

حقوق مالیات

  • سه شنبه 4 بهمن 1390برچسب:,
  • <-PostCategory->

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Q5
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text != "")
{
if (radioButton1.Checked)
textBox3.Text = ((Convert.ToInt32(textBox1.Text) * 7) / 100).ToString();
else if (radioButton2.Checked)
textBox3.Text = ((Convert.ToInt32(textBox1.Text) * 9) / 100).ToString();
else
textBox3.Text = ((Convert.ToInt32(textBox1.Text) * 10) / 100).ToString();
if (Convert.ToInt32(textBox1.Text) <= 2000000)
textBox2.Text = "0";
else if (Convert.ToInt32(textBox1.Text) > 2000000 && Convert.ToInt32(textBox1.Text) <= 4000000)
textBox2.Text = ((Convert.ToInt32(textBox1.Text) - 2000000) * 10 / 100).ToString();
else if (Convert.ToInt32(textBox1.Text) > 4000001 && Convert.ToInt32(textBox1.Text) <= 999999999)
textBox2.Text = (((4000000 - 2000000) * 10 / 100) + ((Convert.ToInt32(textBox1.Text) - 4000000) * 15 / 100)).ToString();
textBox4.Text = (Convert.ToInt32(textBox1.Text) - (Convert.ToInt32(textBox2.Text) + Convert.ToInt32(textBox3.Text))).ToString();
}
}

private void Form1_Load(object sender, EventArgs e)
{
radioButton1.Checked = true;

}
}


نظرات شما عزیزان:

نام :
آدرس ایمیل:
وب سایت/بلاگ :
متن پیام:
:) :( ;) :D
;)) :X :? :P
:* =(( :O };-
:B /:) =DD :S
-) :-(( :-| :-))
نظر خصوصی

 کد را وارد نمایید:

 

 

 

عکس شما

آپلود عکس دلخواه:





مشاهده ادامه مطلب حقوق مالیات