title: How to read combobox from a thread other than the thread it was created on?
body: <p>I am trying to read a combobox.Text from a thread other than the thread it was created on but I am getting the error:</p>
  
  <blockquote>
    <p>An unhandled exception of type
    'System.InvalidOperationException'
    occurred in System.Windows.Forms.dll</p>
    
    <p>Additional information: Cross-thread
    operation not valid: Control
    'levelsComboBox' accessed from a
    thread other than the thread it was
    created on.</p>
  </blockquote>
  
  <p>I have used .Invoke before but only to set properties, how can I use it to read combobox.Text? Because .Invoke returns void and I need a string. Or is there another way to do it without the Invoke?</p>