In my .NET win application fm closing takes l

April 27, 2011 at 21:51:02
Specs: Windows XP
I am working on a Chat Application in Visual Studio 2010.The problem is that when I close a form or minimizing it it takes long time to execute.Also when it is executing it halts any other application of the system.It is happens for 2 particular forms and in the both form I use thread. I also try to debug it and found that it does not execute the close or re size event just after clicking on close button or minimize button but it comes at the event after some time. Please revert me with a possible solution.

See More: In my .NET win application fm closing takes l

Report •

April 28, 2011 at 06:30:04
As much as .NET tries to hide it, Windows applications are still run by the almighty message pump. Without looking at your application, my advice would be to make sure you're not doing your networking (or any real work, really) on the same thread as the GUI.

How To Ask Questions The Smart Way

Report •
Related Solutions

Ask Question