In winform my controls [taskbar and progressbar] become
inactive when heavy processing is going in background, how
to avoid this via multithreading

Answer Posted / brian dixon

Luckily most machines nowadays have multi-core processors or
multiple processors. If the machine in question has only a
single-core processor and nothing else, then there is no
good answer. If the machine is 'modern' and had dual- or
more processors (or cores), then the answer is that your
heavy processing is best forked off into a separate thread
while the GUI is maintained by the first thread. This
allows one processor to maintain good latency in processing
the GUI (and its controls) while the other processor(s) do
the processing. End of story.

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why dynamic binding is used in object-oriented programming?

612


State two differences between an object and a class.

583


Explain about realistic modeling?

572


Explain about abstraction?

679


Why is class hierarchies managed in object-oriented programming?

574






What is overriding?

611


Write a note about inheritance?

507


What are the major differences between late and dynamic binding?

496


Difference between class and an object?

586


Explain about inheritance in oops?

571


Explain the purpose of composition.

611


Why does java not support multiple inheritance?

531


Can constructors be parameterized?

564


Explain what you understand by function overloading.

572


Can we override static methods? Why?

518