private void setFileID() { int fileID = 0; foreach (ListViewItem item in listView1.Items) { if (item.Checked) { item.SubItems[1].Text = FuncParser.loadOrderID(fileID); fileID++; } else { item.SubItems[1].Text = ""; } } }
private void setFileID() { int fileID = 0; foreach (ListViewItem item in listView1.Items) { if (item.Checked) { item.SubItems[1].Text = FuncParser.loadOrderID(fileID); fileID++; } else { item.SubItems[1].Text = ""; } } }