Exemplo n.º 1
0
        void wcfService_GetHashCompleted(object sender, getHashCompletedEventArgs e)
        {
            string hash_ = e.Result;

            if (hash != hash_)
            {
                var settings = IsolatedStorageSettings.ApplicationSettings;
                settings["hash"] = hash_;
                wcfService.getDiscountListAsync();
            }
            else
            {
                bindingStoreData();
                progress.Visibility = System.Windows.Visibility.Collapsed;
            }
        }
Exemplo n.º 2
0
 void wcfService_GetHashCompleted(object sender, getHashCompletedEventArgs e)
 {
     string hash_ = e.Result;
     if (hash != hash_)
     {
         var settings = IsolatedStorageSettings.ApplicationSettings;
         settings["hash"] = hash_;
         wcfService.getDiscountListAsync();
     }
     else
     {
         bindingStoreData();
         progress.Visibility = System.Windows.Visibility.Collapsed;
     }
 }