예제 #1
0
        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");
            }
        }