private void Ekle(int ID, double ucret)
        {
            EIsPersonel IP = new EIsPersonel();

            IP.TakipID    = TID;
            IP.personelID = ID;
            IP.Ucret      = ucret;
            FIsPersonel.Ekle(IP);
        }
 private void button1_Click(object sender, EventArgs e)
 {
     if (prsnl.SelectedIndex == 0)
     {
         per = "- Lütfen Personel Seçimi Yapınız.";
     }
     else
     {
         per = "";
     }
     if (takipnotxt.Text == "")
     {
         takipcix = "- Lütfen Takip No Seçiniz.";
     }
     else
     {
         takipcix = "";
     }
     if (prsnl.SelectedIndex == 0 || takipnotxt.Text == "")
     {
         MessageBox.Show("Lütfen Aşağıdaki Hataları Kontrol Ediniz.\r" + per + "\r" + takipcix + "\r", "Hata", MessageBoxButtons.OK, MessageBoxIcon.Hand);
     }
     else
     {
         DialogResult soruyoruz = MessageBox.Show("Personel Ücretini Kaydetmek İstediğinize Eminin misiniz. ?", "Kaydetme", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
         if (soruyoruz == DialogResult.Yes)
         {
             EIsPersonel IP = new EIsPersonel();
             IP.TakipID    = TID;
             IP.personelID = Convert.ToInt32(prsnl.SelectedValue);
             IP.Ucret      = Convert.ToDouble(ucretxt.Text);
             FIsPersonel.Ekle(IP);
             MessageBox.Show("Personel Ücretlendirme İşlemi Yapılmıştır.", "Ücretlendirme", MessageBoxButtons.OK, MessageBoxIcon.Information);
             Temizle();
             Getir();
         }
     }
 }