title: Cross-thread operation not valid using async/await in VSTO
body: <p>I am getting a </p>
  
  <blockquote>
    <p>Cross-thread operation not valid</p>
  </blockquote>
  
  <p>... error with the code below. I thought async/await would take care this, but apparently not. Weird thing is that when I comment out <code>textBoxUser.Enabled = false</code>, the error disappears. Thoughts?</p>
  
  <pre><code>private async void buttonPopulate_Click(object sender, EventArgs e)
  {
       textBoxUser.Enabled = false;
  
       await Populate(); 
  
       textBoxUser.Enabled = true; //error here
  }
  </code></pre>