private void ReFreshValueForm(int step) { RefreshValueDelegate refreshValueDelegate = new RefreshValueDelegate(ReFreshProgressBar); progressBar1.Invoke(refreshValueDelegate, step); //progressBar1.Value = step; //label1.Text = ((int)(step * 100 / progressBar1.Maximum)).ToString() + "%"; }
private void ReFreshValueForm(int step) { RefreshValueDelegate refreshValueDelegate = new RefreshValueDelegate(ReFreshProgressBar); progressBar1.Invoke(refreshValueDelegate, step); }