How would I go about this:
I want to have a 'monitoring' application with these 3 methods:
1. Run another application, for example let's say C:\Windows\system32\calc.exe
2. With a timer, every 500ms I need to check if it's still running, if not, execute it again.
3. Using a button, I want to terminate it
The uses clause is one of those things that just tends to grow and grow.
Most of the time this is in the main form, as it's from this form that all others are called.
If you have a big application (including many forms),
the uses clause in the in…