private void Client_OnClientUpdated(object sender, ClientInfo e) { Dispatcher.Invoke(delegate { foreach (ClientInfo CI in lstClients.Items) { if (CI.ID == e.ID) { CI.Update(e); } } RefreshDetails(); }); }