private void ics_PendingContactRequest(object sender, Hashtable contactsHash, string contacts) { Invoke(new MethodInvoker(delegate { if (contactsHash.Count > 0) { this.pendingForm.lstPending.Items.Clear(); foreach (DictionaryEntry de in contactsHash) { pendingForm.lstPending.Items.Add(de.Value.ToString()); } pendingForm.Show(); } } )); }