private void InserLVItem(ListViewItem item, int index) { if (listView1.InvokeRequired) { InsertLVItemCallback d = new InsertLVItemCallback(InserLVItem); listView1.BeginInvoke(d, new object[] { item, index }); } else { listView1.Items.Insert(index, item); } }