title: Update Label And ProgressBar value from another class invoked in a background worker
body: <p>hello I have a problem to update a progress bar and a label inside a StatusStrip in the main form.</p>
  
  <p>there are 2 controls in the form inside a StatusStrip:</p>
  
  <ul>
  <li>Progressbar    (ToolStripProgressBar)</li>
  <li>ProgressLabel    (ToolStripStatusLabel)</li>
  </ul>
  
  <p>Basically I have this situation:</p>
  
  <pre><code>Public Class Main
      Public Sub TEST(ByVal sender As Object, ByVal e As DoWorkEventArgs) Handles TEST.DoWork
            Dim tmp as New NAMESPACE1.CLASS2(VALUES)
      End Sub 
  End Class
  
  Namespace NAMESPACE1
      Public Class CLASS2
           Public Sub New(VALUES)
               Main.Progressbar.Value = 15
               Main.ProgressLabel.Text = "hello!"
           End Sub
       End Class 
  End Namespace
  </code></pre>
  
  <p>The problem is that text or value of the controls are updated (I see it using breakpoints) in the code but not in the form in which progressbar is always a 0% and label always as nothing.</p>
  
  <p>I think it's an update or refresh problem of the main form. i have tried to do Main.Refresh() and Main.Update() but it does not work anyway.</p>
  
  <p>Thanks in advance.</p>