Winforms-how do I keep window fully painted/responsive during a long running synchronous request is

Posted by Greg on Stack Overflow See other posts from Stack Overflow or by Greg
Published on 2010-03-19T03:37:16Z Indexed on 2010/03/19 3:41 UTC
Read the original article Hit count: 482

Filed under:
|

Hi,

Background - For a winforms 3.5 c# application, I would like to keep the main window fully painted/responsive during a long running synchronous request. For example if the user moves the window.

Question - Is there a way to achive this WITHOUT having to setup a separate thread or backgroundworker process? (e.g. like a way to call from within my long running transaction, "release a bit of CPU to mainform", at some points)

thanks

© Stack Overflow or respective owner

Related posts about winforms

Related posts about c#