private void fetchCheckins() { foreach (Checkin checkin in EngineManager.GetUserCheckIns()) { listBoxCheckins.Invoke(new Action(() => listBoxCheckins.Items.Add(checkin.Place.Name))); } if (EngineManager.GetUserCheckIns().Count == 0) { MessageBox.Show("No checkins to retrieve"); } }