private void ListeDoldur()
        {
            BusinessLogiclayer.BLL bll           = new BusinessLogiclayer.BLL();
            List <Rehber>          RehberListesi = bll.KayıtListe();

            if (RehberListesi != null && RehberListesi.Count > 0)
            {
                lst_liste.DataSource = RehberListesi;
            }
        }
        private void btn_yenikayit_Click(object sender, EventArgs e)
        {
            BusinessLogiclayer.BLL bll = new BusinessLogiclayer.BLL();
            int returnValues           = bll.KayıtEkle(txt_y_isim.Text, txt_y_soyisim.Text, txt_y_tel1.Text, txt_y_tel2.Text, txt_y_tel3.Text, txt_y_email.Text, txt_y_web.Text, txt_y_adres.Text, txt_y_aciklama.Text);

            if (returnValues > 0)
            {
                ListeDoldur();
                MessageBox.Show("Yeni Kayıt Eklendi", "Bilgilendirme", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
        private void btn_düzenle_Click(object sender, EventArgs e)
        {
            Guid ID = ((Rehber)lst_liste.SelectedItem).ID;

            BusinessLogiclayer.BLL bll = new BusinessLogiclayer.BLL();
            int returnValues           = bll.KayıtDüzenle(ID, txt_g_isim.Text, txt_g_soyisim.Text, txt_g_tel1.Text, txt_g_tel2.Text, txt_g_tel3.Text, txt_g_email.Text, txt_g_web.Text, txt_g_web.Text, txt_g_adres.Text, txt_g_aciklama.Text);

            if (returnValues > 0)
            {
                ListeDoldur();
                MessageBox.Show("Kayıt Güncellendi", "Bilgilendirme", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
        private void btn_sil_Click(object sender, EventArgs e)
        {
            Guid ID = ((Rehber)lst_liste.SelectedItem).ID;

            BusinessLogiclayer.BLL bll = new BusinessLogiclayer.BLL();
            int returnValues           = bll.KayıtSil(ID);

            if (returnValues > 0)
            {
                ListeDoldur();
                MessageBox.Show("Kayıt Silinmiştir", "Bilgilendirme", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }