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() + "%";
        }
示例#2
0
        private void ReFreshValueForm(int step)
        {
            RefreshValueDelegate refreshValueDelegate = new RefreshValueDelegate(ReFreshProgressBar);

            progressBar1.Invoke(refreshValueDelegate, step);
        }