When using any loop such as while loop in C# application, repainting of application window/form won't happen properly. i-e The window will be displayed in blur manner.
To avoid this issue we need to use/call Application.DoEvents() within the while loop.
It will process all the window messages currently available in the message queue.
More Articles...
Saturday, May 16, 2009
Search This Blog
Get an AI course for just Rs 300 ($8) - A free option is also available

AI Course | Bundle Offer | Unlocking AI | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | SQL ebook | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
No comments:
Post a Comment