private void button2_Click(object sender, EventArgs e) { //I have a List(List_movieLinks) containing 900 strings. for (int i = 0; i < List_movieLinks.Capacity; i++) { //I have a custom control(controlFile1) with a progressBar inside. if (controlFile1.ready) { //until the progressBar value = 100 (until is full) // 5 seconds are passing // but the for loop is not stopping for those 5 seconds. // how do I wait the progressBar to finish for every item in the loop? } } } //thank you
yes, it's a progress bar problem after all. :) problem solved I was thinking at the timer element in the same time, but when I narrowed it down to bits, all became clear. Thank you, all.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)