This question has already been answered:
- Work with controls from background thread 2 responses
There is a form, I need to call it in another thread, and simultaneously change the Value parameter of the progressBar.
int precentage = f1.Allcount / 100; while (ChkedComplete) { if (countCheked / precentage > 100) { ProgressBar1.Value = 100; } else { ProgressBar1.Value = countCheked / precentage; } panel2.Visible = true; } how to implement all this?