Winforms ProgressBar Takes time to Render

前端 未结 7 1718
清歌不尽
清歌不尽 2021-01-15 10:12

I have noticied that when using the PorgressBar. If I set the value to x, the value displayed is not immediately updated, it takes a small amount of time to draw it as the b

7条回答
  •  醉话见心
    2021-01-15 11:08

    I found that using PerformStep() instead of setting the value did not have this rendering delay - still had to call Application.DoEvents() though.

提交回复
热议问题