Form Not Responding when any other operation performed in C#

前端 未结 5 1073
心在旅途
心在旅途 2020-12-09 12:52

I have a form (Developed in C# using VS2010) with a Progress Bar. It\'s kind of stopwatch form where I fill the progress bar in say 10secs.... As Time elapses, Progress bar

5条回答
  •  攒了一身酷
    2020-12-09 13:21

    Answer suggested by Marc will help. Lon running operations can make your application crash or not responsive. I have a blog post related to the usage of the background worker class.

    http://midnightprogrammer.net/post/Using-Background-Worker-in-C.aspx

提交回复
热议问题