private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            Ogrenci secilenOgrenci = (Ogrenci)dataGridView1.CurrentRow.DataBoundItem;

            txtAd.Text    = secilenOgrenci.Ad;
            txtSoyad.Text = secilenOgrenci.Soyad;
            txtTcNo.Text  = secilenOgrenci.TcKimlikNo.ToString();

            List <string> alist = secilenOgrenci.GetAdres();

            listBoxAdres.Items.Clear();
            foreach (var item in alist)
            {
                listBoxAdres.Items.Add(item);
            }

            string[] adresDizi = new string[3];
            adresDizi = secilenOgrenci.GetAdres1();
            listBoxAdres2.Items.Clear();
            foreach (var item in adresDizi)
            {
                listBoxAdres2.Items.Add(item);
            }
        }