I want to check about 3000 item in listview. This is a bit of code :
listview
foreach (ListViewItem item in this.lvItem.Items) { item.Checked = !item.Ch
You need to call BeginUpdate before the loop and EndUpdate after the loop:
listView1.BeginUpdate(); foreach (ListViewItem item in listView1.Items) item.Checked = true; listView1.EndUpdate();
Calling BeginUpdate prevents the control from drawing until the EndUpdate method is called.
BeginUpdate
EndUpdate