Gorsel Programlama | Görsel Programlama | C#.Net | VB.Net | C# Console

ana sayfa > C#, Görsel Programlama > Kdv’li Ürün Satışı C#

Kdv’li Ürün Satışı C#

Pazartesi, 08 Mar 2010 yorum ekle yorumlara git

Ürün Satışı C#

kdv

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

private void button1_Click(object sender, EventArgs e)
{
try
{
double sayi1, sayi2, fyt, kdv;
sayi1 = double.Parse(textBox1.Text);
sayi2 = double.Parse(textBox2.Text);
fyt = sayi1 * sayi2;

if (checkBox2.Checked == true)
{
kdv = fyt + (fyt * 18 / 100);
textBox3.Text = kdv.ToString();
}
else
textBox3.Text = fyt.ToString();
}
catch
{
MessageBox.Show("Lütfen Textleri Doldurunuz");

}

}

private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if (checkBox1.Checked == true)
groupBox1.Visible = true;
else
groupBox1.Visible = false;

}

private void Form1_Load(object sender, EventArgs e)
{
timer1.Interval = 100;
timer1.Enabled = false;
groupBox1.Visible = false;
label8.Text = DateTime.Now.ToLongDateString();
label9.Text = DateTime.Now.ToShortTimeString();
}



private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{

}

private void timer1_Tick(object sender, EventArgs e)
{
textBox4.Text = textBox4.Text.Substring(1) + textBox4.Text.Substring(0, 1);
}

private void button2_Click(object sender, EventArgs e)
{
if (textBox4.Text == "")
MessageBox.Show("Metin Gir");
else
{
if (timer1.Enabled == false)
{
timer1.Enabled = true;
button2.Text = "Metni Durdur";
}
else
{
timer1.Enabled = false;
button2.Text = "Metni Başlat";
}
}
// text e metin girişmemiş ise mesajla kullanıcıya metin girilmesini söyleyen metni ayaklandıran program
}

private void label1_Click(object sender, EventArgs e)
{

}

private void button3_Click(object sender, EventArgs e)
{
string[] s;
s = textBox5.Text.Split(‘ ‘);
label5.Text = s[0];
label6.Text = s[1];
}
}

Projeyi İNDİR








Rica: Sitemizin Google'da Ön Sıralarda Çıkması İçin Lütfen Alttaki Google+ Butonuna Tıklayınız , Sayfamızı Facebookta Beğeniniz veya yazıları Twitter,Facebookta paylaşınız.
Paylaş :



Böyle bir web sayfam olsun diyorsanız iletişim bölümünden veya gorselprogram@gmail.com mail adresinden bize ulaşabilirsiniz.


  1. şimdilik yorum yok.
  1. şimdilik geri bağlantı yok