private void btn_Click(object sender, EventArgs e) { try { Parallel.ForEach(this.listView1.Items.Cast<ListViewItem>(), (list, loopState) => { loopState.Stop(); }); } catch { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)