Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Personal p = new Personal();

            p.Adi         = txtAd.Text;
            p.Soyadi      = txtSoyad.Text;
            p.DogumTarihi = dtpDogumTarihi.Value;
            p.TCKN        = txtTCKN.Text;
            p.PersonelEkle();
            personals[sayac] = p;
            sayac++;
        }