nitin2010 0 Newbie Poster

In my program ,am using ThreadPool for threading.
In which function creating progressbar is in one thread and function that changing visibility of progressbar is in another thread.
then following exception occurring...
Controls created on one thread cannot be parented to a control on a different thread