コード例 #1
0
 void client_GetBuildingsCompleted(object sender, GetBuildingsCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         foreach (var building in e.Result)
         {
             this.allBuildings.Add(building);
         }
         RaisePropertyChanged("AllBuildings");
     }
 }
コード例 #2
0
 void client_GetBuildingsCompleted(object sender, GetBuildingsCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         foreach (var building in e.Result)
         {
             this.allBuildings.Add(building);
         }
         RaisePropertyChanged("AllBuildings");
     }
 }