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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.