private void button3_Click(object sender, EventArgs e) { int inc = 0; for (int i = 0; i < listView1.Items.Count; i++) { for (int j = 0; j < 5; j++) { MessageBox.Show(listView1.Items[j].SubItems[0].Text + " To " + listView2.Items[inc].SubItems[0].Text); //i want to sleep the above line 1 min and containu the loop if (inc >= listView2.Items.Count - 1) { inc = 0; } else { inc++; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)