private void OnTipsResult(TipsEventArgs e) { if (TipsResult != null) { TipsResult(this, e); } }
void Service_TipsResult(object serder, TipsEventArgs e) { try { tips = e.Tips; if (View.InvokeRequired) { View.Invoke(new ThreadStart(ShowList)); } else { ShowList(true); } } catch (ObjectDisposedException) { } }
void service_TipsResult(object serder, TipsEventArgs e) { tipsNearby = e; wait.Set(); }