M
Morgon
Guest
I have a class that's called whenever a user clicks a button on the form.. some info goes into a listbox, and everything's fine "While" the current thread is alive.. well, when things cease to be fine, I want this class to remove the item from the listbox.. however.. directly accessing lstCameras.Items.Remove() results in "Reference to a non-shared member requires an object reference" ...So my question is.. how do I either share it, or make an object reference? I tried making a public function that would remove it, but it didn't like that either... so now I'm stuck -- can anyone help?
-Morgon
-Morgon