예제 #1
0
        private void txtAra_TextChanged(object sender, EventArgs e)
        {
            var sonuc = MyTool.Arama <Doktor>(txtAra.Text, Listem);

            lstListe.Items.Clear();
            sonuc.ForEach(x => lstListe.Items.Add(x));
        }
예제 #2
0
 private void txtAra_TextChanged(object sender, EventArgs e)
 {
     lstListe.DataSource = MyTool.Arama <Hasta>(txtAra.Text);
 }