private void RemoveAvatar(uint localID)
{
if (this.InvokeRequired) this.BeginInvoke((MethodInvoker)delegate { RemoveAvatar(localID); });
else
{
lock (_Avatars)
{
if (_Avatars.Contains(localID))
{
_Avatars.Remove(localID);
string key = localID.ToString();
int index = this.Items.IndexOfKey(key);
if (index > -1) this.Items.RemoveAt(index);
}
}
}
}