Background Worker Process or Thread?

前端 未结 5 2158
鱼传尺愫
鱼传尺愫 2021-01-07 05:45

I have a Winform app which lists a batch of invoices in a gridview. The users select the batch and clicks a button, \"Generate Invoices\". The process takes about 4-5 mins.

5条回答
  •  独厮守ぢ
    2021-01-07 06:01

    A separate process will of course be safer: If it has any problems (crashing, infinite loops, leaks or whatever) - these problems will not affect the parent process.

提交回复
热议问题