Winforms ProgressBar Takes time to Render
问题 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 bar is animated from its current value to the new value. This is easy to see in the following code: Private Async Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Label1.Text = "" Dim progressHandler = New Progress(Of Integer)(Sub(value) ProgressBar1.Value = value) Dim progress = CType