Beispiel #1
0
        private void lpkMahalle_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            IzmitMahalle Mahalle = lpkMahalle.SelectedItem as IzmitMahalle;

            if (Mahalle != null)
            {
                MahalleId = Mahalle.MahalleId;
                al.MarketlerListeUrunKaydetAsync(MahalleId);
                al.MarketlerListeUrunKaydetCompleted += new EventHandler <MarketlerListeUrunKaydetCompletedEventArgs>(al_MarketlerListeUrunKaydetCompleted);
            }
        }
        private void lpkMahalle_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            IzmitMahalle Mahalle = lpkMahalle.SelectedItem as IzmitMahalle;

            if (Mahalle != null)
            {
                MahalleId = Mahalle.MahalleId;
                al.MarketlerListeUrunKaydetAsync(MahalleId);

                al.MarketlerListeUrunKaydetCompleted += new EventHandler <MarketlerListeUrunKaydetCompletedEventArgs>(al_MarketlerListeUrunKaydetCompleted);
                try
                {
                }
                catch (Exception)
                {
                }
            }
            else
            {
                lstSepetimUrunler.Items.Clear();
                lstSepetimUrunlerSecilen.Items.Clear();
            }
        }