Ejemplo n.º 1
0
 void svcF2_EventListUpdated(object sender, EventListEventArg e)
 {
     UIAction(() => updateDataSource(e.List));
     //App.Current.RootVisual.Dispatcher.BeginInvoke(() => updateDataSource(e.List));
     //updateDataSource(e.List);
     if (friendRtvrSvcs.ContainsKey(e.ID))
         friendRtvrSvcs[e.ID].EventListUpdated -= new EventHandler<EventListEventArg>(svcF2_EventListUpdated);
 }
Ejemplo n.º 2
0
 void svc_EventListUpdated(object sender, EventListEventArg e)
 {
     UIAction(() => updateDataSource(e.List));
     //App.Current.RootVisual.Dispatcher.BeginInvoke(() => updateDataSource(e.List));
     //updateDataSource(e.List);
     svc.EventListUpdated -= new EventHandler<EventListEventArg>(svc_EventListUpdated);
 }