Beispiel #1
0
        async protected override void OnAppearing()
        {
            DcFilier = new Dictionary <string, int>();
            var Nameist = new List <string>();
            var flName  = await dataFilier.GetFilierName();

            foreach (Filiere Data in flName)
            {
                DcFilier.Add(Data.FiliereName, Data.IdFiliere);
                Nameist.Add(Data.FiliereName);
            }
            FilierPicker.ItemsSource = Nameist;
            base.OnAppearing();
        }
        async protected override void OnAppearing()
        {
            Dc = new Dictionary <string, int>();
            var Nameist = new List <string>();
            var flName  = await dataFilier.GetFilierName();

            foreach (Filiere Data in flName)
            {
                Dc.Add(Data.FiliereName, Data.IdFiliere);
            }
            foreach (var value in Dc.Keys)
            {
                Nameist.Add(value);
            }
            txtFiliere.ItemsSource = Nameist;
            base.OnAppearing();
        }