Is possible to use the same background process for all forms?

ken76

Member
Joined
Nov 15, 2018
Messages
23
Programming Experience
5-10
Can I use the same background process for all forms in visual studio c#?
If it possible, how is it done?
 
No. Because your background process on your computer can't possibly be running any of the forms running on someone else's form they created and are running on their computer using Visual Studio C#.

Now if your question was can you WinForms application just use a single background worker process, yes, you could. But then you'll now have to figure out how to queue work to your background worker process so that it can handle multiple tasks should you have multiple background tasks to do. You'll end up having to write a mini-operating system. Typically, people will create a background worker that is just focused on a specific task so as not to have to solve that multiple tasks but only single process problem.
 
Last edited:
Please explain what you're actually trying to achieve and then we can provide the best advice on how to achieve it. The question you've asked is actually nonsensical as it is, so it requires us to try and interpret it to and work out what you're trying to do to work out how best to do it. It would be better if you just tell us.
 
Back
Top Bottom