private void DevelopersRemoveItem(ListViewItem obj) { if (this.clbDevelopersSelected.InvokeRequired) { DevItemCallback callback = new DevItemCallback(DevelopersRemoveItem); this.Invoke(callback, new object[] { obj }); } else { clbDevelopersSelected.Items.Remove(obj); } }
private void DevelopersRemoveItem(ListViewItem obj) { if (clbDevelopersSelected.InvokeRequired) { DevItemCallback callback = DevelopersRemoveItem; Invoke(callback, obj); } else { clbDevelopersSelected.Items.Remove(obj); } }