Exemple #1
0
        void al_MarketKayitCompleted(object sender, MarketKayitCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                txtMarketIsim.Text  = string.Empty;
                txtMarketAdres.Text = string.Empty;
                MessageBox.Show("Marketiniz Eklendi!");

                al.MarketlerListeUrunKaydetAsync(MahalleId);
                al.MarketlerListeUrunKaydetCompleted += new EventHandler <MarketlerListeUrunKaydetCompletedEventArgs>(al_MarketlerListeUrunKaydetCompleted);
            }
        }
        void al_MarketKayitCompleted(object sender, MarketKayitCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                txtMarketIsim.Text = string.Empty;
                txtMarketAdres.Text = string.Empty;
                MessageBox.Show("Marketiniz Eklendi!");

                al.MarketlerListeUrunKaydetAsync(MahalleId);
                al.MarketlerListeUrunKaydetCompleted += new EventHandler<MarketlerListeUrunKaydetCompletedEventArgs>(al_MarketlerListeUrunKaydetCompleted);
            }
        }