private void doDrawing(Bar_Sta link) { statusLabel.Text = link.status; progressBar.Increment(link.val); strip.Items[2].Text = progressBar.Value + "%"; //progressBar.ProgressBar. /* if (progressBar.Value + link.val <= 100) * progressBar.Value += link.val; * else progressBar.Value = 100;*/ // progressBar.ProgressBar.Refresh(); // progressBar.ProgressBar.Update(); strip.Update(); strip.Refresh(); }