Пример #1
0
        private async void listCek()
        {
            var id = Application.Current.Properties["id"];

            List <LocalProject> lps = await b.getProjects(Convert.ToInt32(id));

            idler   = new List <int>();
            isimler = new ObservableCollection <string>();

            foreach (LocalProject lp in lps)
            {
                idler.Add(lp.id);
                isimler.Add(lp.ad);
            }

            degerler.ItemsSource = isimler;
        }