GUI freezing after datagridviews have been updated using backgroundworkers

Posted by Jhon on Stack Overflow See other posts from Stack Overflow or by Jhon
Published on 2010-03-08T16:35:20Z Indexed on 2010/03/08 16:51 UTC
Read the original article Hit count: 343

I have made an application which runs three backgroundworkers simultaneously. It basically updates three datagridviews, which it is doing spot on. My problem is if I press maximizebox button or anywhere in any of the datagridview the program hangs for quite a long time. I am able to use the horizontal scroll but not vertical scrolls. I have tried Backgroundworker_runworkercompleted and it fires as required after threads have updated their respective datagridviews. Is it a normal behaviour or am i doing something wrong any suggestions would be helpful. P.S: I have run the whole program using step method and their is no infinite loop in the code. Thanks in advance Jhon

© Stack Overflow or respective owner

Related posts about backgroundworker

Related posts about gui