GETTING listboxitems from other thread: Cross-thread operation not valid
<p>So far I have seen 1000 examples how to set items in listbox objects from a different thread using the Invoke method.</p>

<p>However, I cannot find any solution on how to simply read the items from a listbox from a background worker tread. How do I invoke this before reading the SelectedItems for example...</p>

<pre><code>foreach (var item in CheckedListBox1.SelectedItems)
{
 //Do something
}
</code></pre>

<p>Above code running in the background worker generated the following error:</p>

<p>Cross-thread operation not valid: Control 'CheckedListBox1' accessed from a thread other than the thread it was created on.</p>
