void Service_CheckInsResult(object serder, MySquare.FourSquare.CheckInsEventArgs e) { try { View.Invoke(new ThreadStart(delegate() { checkIns = e.CheckIns; LoadCheckIns(); })); } catch (ObjectDisposedException) { } }
void Service_CheckInsResult(object sender, MySquare.FourSquare.CheckInsEventArgs e) { checkIns = e.CheckIns; waitThread.Set(); }