using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Burc_Ogrenme
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
int gun, ay;
gun = (int)numericUpDown1.Value;
ay = (int)numericUpDown2.Value;
if (gun >= 21 && gun <= 31 && ay == 1)
label3.Text = "Kova";
else if (gun >= 1 && gun <= 19 && ay == 2)
label3.Text = "Kova";
if (gun >= 20 && gun <= 29 && ay == 2)
label3.Text = "Balık";
else if (gun >= 1 && gun <= 20 && ay == 3)
label3.Text = "Balık";
if (gun >= 21 && gun <= 31 && ay == 3)
label3.Text = "Koç";
else if (gun >= 1 && gun <= 20 && ay == 4)
label3.Text = "Koç";
if (gun >= 21 && gun <= 30 && ay == 4)
label3.Text = "Boğa";
else if (gun >= 1 && gun <= 20 && ay == 5)
label3.Text = "Boğa";
if (gun >= 21 && gun <= 31 && ay == 5)
label3.Text = "İkizler";
else if (gun >= 1 && gun <= 21 && ay == 6)
label3.Text = "İkizler";
if (gun >= 22 && gun <= 30 && ay == 6)
label3.Text = "Yengeç";
else if (gun >= 1 && gun <= 22 && ay == 7)
label3.Text = "Yengeç";
if (gun >= 23 && gun <= 31 && ay == 7)
label3.Text = "Aslan";
else if (gun >= 1 && gun <= 23 && ay == 8)
label3.Text = "Aslan";
if (gun >= 24 && gun <= 31 && ay == 8)
label3.Text = "Başak";
else if (gun >= 1 && gun <= 23 && ay == 9)
label3.Text = "Başak";
if (gun >= 24 && gun <= 31 && ay == 9)
label3.Text = "Terazi";
else if (gun >= 1 && gun <= 23 && ay == 10)
label3.Text = "Terazi";
if (gun >= 24 && gun <= 30 && ay == 10)
label3.Text = "Akrep";
else if (gun >= 1 && gun <= 22 && ay == 11)
label3.Text = "Akrep";
if (gun >= 23 && gun <= 31 && ay == 11)
label3.Text = "Yay";
else if (gun >= 1 && gun <= 21 && ay == 12)
label3.Text = "Yay";
if (gun >= 22 && gun <= 31 && ay == 12)
label3.Text = "Oğlak";
else if (gun >= 1 && gun <= 20 && ay == 1)
label3.Text = "Oğlak";
pictureBox1.Image = Image.FromFile(Application.StartupPath.ToString()+"Logolar"+label3.Text+".png");
}
}
}
C# ile çok fonksiyonlu hesap makinesi yapımı kodları....
TRCodeRooTeR 8443 1 2019-12-22 05:12:22C# ile yazılmış Bankamatik Otomasyonu program kodları...
TRCodeRooTeR 6990 1 2020-11-16 10:17:29