A quick fix for you would be:
Label1.Text = f.Name + " is done processing, now processing...";
Label1.Refresh();
You really want to avoid DoEvents
, otherwise you’ll have problems if your user repeatedly presses buttons on your form.
A quick fix for you would be:
Label1.Text = f.Name + " is done processing, now processing...";
Label1.Refresh();
You really want to avoid DoEvents
, otherwise you’ll have problems if your user repeatedly presses buttons on your form.