http://www.w3.org/ns/prov#value | - You just run this code and you will get an error which sayingCross-thread operation not valid: Control 'listBox1' accessed from a thread other than the thread it was created on.This is the whole discussed CrossThread exception. 'listBox1' is created in an assigned Thread and your are running Method1 in a different Thread and trying to access 'listBox1' in side Method1.
|