How to make a windows form more responsive?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Developer111
    New Member
    • Apr 2010
    • 28

    How to make a windows form more responsive?

    In my (VB.Net+VS2008) application, I want to make my windows form (splash) more responsive as there is some complex functionality is performing while loading splash form. Currently when any other application come in front of splash screen and then minimize then splash screen looses its proper visibility and showing some hang kind of state also.

    I used “Application.Do Events()”, but it doesn’t work. I can’t use “background worker” because it doesn’t support UI related changes. i.e. Initializing some UI components on shown event of splash screen.

    Is there any other way to achieve the task?

    Thanks in advance
  • Aimee Bailey
    Recognized Expert New Member
    • Apr 2010
    • 197

    #2
    the BackgroundWorke r is just a wrapper for the threading objects, take a look at threading, it can be very efficient aslong as you decide from the off weather you will work async or syncronous. And yes before you ask, you can update the UI, you just have to use BeginEnvoke to handle the process properly.

    Comment

    Working...