title: How do I set the status bar from a static
body: <p>I have a form (called Form1) and I have created a status strip (called toolStripProgressBar1), with a label and a progress bar. I have a function that is called when you press a button and gets some data and processes it, which works well.</p>
  
  <p>I want to provide the user with some information as to its progress so I want to set the label and progress bar but I can't get it to set</p>
  
  <pre><code>private static async Task GetSurvey(string surid)
  {
      Form1.toolStripProgressBar1.Value = 10;
  </code></pre>