private void button1_Click(object sender, EventArgs e) { PROGRESS_BAR.Minimum = 0; PROGRESS_BAR.Maximum = 100; PROGRESS_BAR.Value = 0;
You cannot interact with UI elements from non-UI thread. You need to use code like
this.BeginInvoke((Action)(() => PROGRESS_BAR.PerformStep()));