private void OnSystemLost(DiscoveredSystem lostSystem) { for(int i = 0; i < remoteClientList.Items.Count; ++i) { if ((remoteClientList.Items[i] as RemoteSystemEntry).IsEqual(lostSystem)) { remoteClientList.Items.RemoveAt(i); break; } } }