title: Winforms ProgressBar Takes time to Render
body: <p>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.</p>
  
  <p>This is easy to see in the following code:</p>
  
  <pre><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(progressHandler, IProgress(Of Integer))
      Await Task.Run(Sub()
                         For i = 1 To 100
                             progress.Report(i)
                             Thread.Sleep(10)
                         Next
                     End Sub)
      Label1.Text = "Value Now at 100%"
      Await Task.Delay(650) 'it takes this long for the bar to be rendered
      Label1.Text += " - Finished drawing"
  End Sub
  </code></pre>
  
  <p>You will notice running this code that the <code>Value Now at 100%</code> appears a long time before the bar has actually reached 100%.</p>
  
  <p>Is there any way that I can detect when the bar has finished rendering?</p>