progress bar linking to form load

3 posts, 0 answers
  1. yogesh
    yogesh avatar
    16 posts
    Member since:
    Feb 2011

    Posted 01 Mar 2011 Link to this post

    Hello...
              I wanna link progress bar value to form load. Because to load the form its taking time so i wanna show the form loading status through progress bar. I tried with some code but the progress bar value is not syncing to form load. Can u help?
  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 01 Mar 2011 Link to this post

    Hello Yogesh,

    Because the form load is being performed on the main thread the message loop will be locked until the form is loaded, i would suggest you use a SplashScreen to show progress, there is a very good example here.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga
    Telerik WinForms MVP
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 01 Mar 2011 Link to this post

    Hello Yogesh,

    I'd also advise having a look at this forum thread which in addition to Emanuel's suggestion, provide suggestions for speeding up first time load of applications.
    hope that helps but let me know if you have any questions
    Richard
Back to Top