Csharpkodlar
İÇERİKLER  
  Ana Sayfa
  İletişim
  C# Cümlede Harfin Kaç Defa Kullanıldığını Bulma
  İki tarih arasında for ile döngü kurmak. DateTime for function
  C# ta Kodların Kullanımı ve Örnek Kodlar
  C# Yıldızlar ile ters piramit yapmak
  C# Sayının asal olup olmadığını gösteren program
  C# Hesap Makinesi
  C# Burç Programı
  C# Sayısal Loto örnegi
  C# Textbox kısıtlamaları
  C# alarm örneği
  C# Faktoriyel hesaplama
  Klavyeden girilen 2 sayı arasında kalan sayıların toplamını ve karelerinin toplamını bulan kod
  MSSQL Bağlantısı, Sorgulama, Kayıt Ekleme , Kayıt Silme işlemleri
  Dizilerle öğrenci kayıt örneği C#
  Sinema Programı örnek C#
  Türkçe-İngilizce ve İngilizce-Türkçe Sözlük C#.NET
  Şampiyonluk Anketi (progressBar ile) C#.NET
  Büyük Ünlü Uyumu C#
  C# Maaş-Gelir Gider-Kişisel Bilgi Programı
C# Burç Programı
string isim=textBox1.Text;
            int yas=2010-Convert.ToInt32(comboBox3.Text);
            string burc = "";
            if (Convert.ToInt32(comboBox1.Text) >= 21 && Convert.ToInt32(comboBox2.Text) == 03 || Convert.ToInt32(comboBox1.Text) <= 20 && Convert.ToInt32(comboBox2.Text) == 04)
                burc = "KOÇ";
            if (Convert.ToInt32(comboBox1.Text) >= 21 && Convert.ToInt32(comboBox2.Text) == 04 || Convert.ToInt32(comboBox1.Text) <= 21 && Convert.ToInt32(comboBox2.Text) == 05)
                burc = "BOĞA";
            if (Convert.ToInt32(comboBox1.Text) >= 22 && Convert.ToInt32(comboBox2.Text) == 05 || Convert.ToInt32(comboBox1.Text) <= 21 && Convert.ToInt32(comboBox2.Text) == 06)
                burc = "İKİZLER";
            if (Convert.ToInt32(comboBox1.Text) >= 22 && Convert.ToInt32(comboBox2.Text) == 06 || Convert.ToInt32(comboBox1.Text) <= 22 && Convert.ToInt32(comboBox2.Text) == 07)
                burc = "YENGEÇ";
            if (Convert.ToInt32(comboBox1.Text) >= 23 && Convert.ToInt32(comboBox2.Text) == 07 || Convert.ToInt32(comboBox1.Text) <= 23 && Convert.ToInt32(comboBox2.Text) == 08)
                burc = "ASLAN";
            if (Convert.ToInt32(comboBox1.Text) >= 24 && Convert.ToInt32(comboBox2.Text) == 08 || Convert.ToInt32(comboBox1.Text) <= 22 && Convert.ToInt32(comboBox2.Text) == 09)
                burc = "BAŞAK";
            if (Convert.ToInt32(comboBox1.Text) >= 23 && Convert.ToInt32(comboBox2.Text) == 09 || Convert.ToInt32(comboBox1.Text) <= 22 && Convert.ToInt32(comboBox2.Text) == 10)
                burc = "TERAZİ";
            if (Convert.ToInt32(comboBox1.Text) >= 24 && Convert.ToInt32(comboBox2.Text) == 10 || Convert.ToInt32(comboBox1.Text) <= 22 && Convert.ToInt32(comboBox2.Text) == 11)
                burc = "AKREP";
            if (Convert.ToInt32(comboBox1.Text) >= 23 && Convert.ToInt32(comboBox2.Text) == 11 || Convert.ToInt32(comboBox1.Text) <= 21 && Convert.ToInt32(comboBox2.Text) == 12)
                burc = "YAY";
            if (Convert.ToInt32(comboBox1.Text) >= 22 && Convert.ToInt32(comboBox2.Text) == 12 || Convert.ToInt32(comboBox1.Text) <= 20 && Convert.ToInt32(comboBox2.Text) == 01)
                burc = "OGLAK";
            if (Convert.ToInt32(comboBox1.Text) >= 21 && Convert.ToInt32(comboBox2.Text) == 01 || Convert.ToInt32(comboBox1.Text) <= 18 && Convert.ToInt32(comboBox2.Text) == 02)
                burc = "KOVA";
            if (Convert.ToInt32(comboBox1.Text) >= 19 && Convert.ToInt32(comboBox2.Text) == 02 || Convert.ToInt32(comboBox1.Text) <= 20 && Convert.ToInt32(comboBox2.Text) == 03)
                burc = "BALIK";

            MessageBox.Show("Merhaba "+isim+" "+yas+" yaşındasın"+" burcun "+burc.ToString());
            if (burc == "KOÇ")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"KOÇ.jpg");
                listBox1.Items.Add("Güçlüdür ");
            }
            if (burc == "BOĞA")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"BOĞA.jpg");
                listBox1.Items.Add("Evcildir ");
            }
            if (burc == "İKİZLER")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"İKİZLER.jpg"); 
                listBox1.Items.Add("dengesizsin ");
                listBox1.Items.Add("ama zekisin neşelisin gezmeyi seversin.");
            }
            if (burc == "YENGEÇ")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"YENGEÇ.jpg");
                listBox1.Items.Add("Cabuk sinirlenir Ama pişmanlık duyar ");
            }
            if (burc == "ASLAN")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"ASLAN.jpg");
                listBox1.Items.Add("eleştirilmeyi sevmez ");
                listBox1.Items.Add("kendisini tasıyabilecek,dış görünüse onem veren kişileri sever ");
            }
            if (burc == "BAŞAK")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"BAŞAK.jpg");
                listBox1.Items.Add("ince eler sık dokur,ayrıntıcıdır ");
                listBox1.Items.Add("dost canlısıdır ");
            }
            if (burc == "TERAZİ")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"TERAZİ.jpg");
                listBox1.Items.Add("Fırtına öncesi sessizliği gibidir. ");
                listBox1.Items.Add("dost canlısıdır,insanlara kendisini hemen sevdirir. ");
            }
            if (burc == "AKREP")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"AKREP.jpg");
                listBox1.Items.Add("Sinsidir..Kafasına koydugunu yapar.");
            }
            if (burc == "YAY")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"YAY.jpg");
                listBox1.Items.Add("Ayran gönüllüdür");
            }
            if (burc == "OGLAK")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"OĞLAK.jpg");
                listBox1.Items.Add("Mükemmelliyetçidir. ");
            }
            if (burc == "KOVA")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"KOVA.jpg");
                listBox1.Items.Add("Özgürlüğüne düşkündür.Kısıtlanmayı sevmez. ");
            }
            if (burc == "BALIK")
            {
                listBox1.Items.Clear();
                pictureBox1.BackgroundImage = System.Drawing.Image.FromFile(AppDomain.CurrentDomain.BaseDirectory+"BALIK.jpg");
                listBox1.Items.Add("Cok duygusal ve hayalcidir. ");
                listBox1.Items.Add("yardımseverdir fakat cok mızmız ve alıngandır. ");
                listBox1.Items.Add("birgun evden bakkala gidiyorum diye cıkıp hiç dönmeyebilir. ");
            }
 
   
Bugün 19 ziyaretçi (23 klik) kişi burdaydı!
Bu web sitesi ücretsiz olarak Bedava-Sitem.com ile oluşturulmuştur. Siz de kendi web sitenizi kurmak ister misiniz?
Ücretsiz kaydol