So for when my bot shutsdown or someone closes it i made a restarter/relogger app.
It logs you in etc.
But the problem is if the Form1 Window is closed i have a bunch of remote threads running that will keep running since it doesn't know that its main window is closed.
So my question is how do i find out if the Form1 Window is closed and to disregard the threads.
I tryed asking Mr.Google but he didn't anwser me.
Ty- For anyone who has an awnser 
Was thinking about Vista's ApplicationRecovery Class
but i am on XP anyways.
Also Tryed the
Code:
private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
//Put a Kill Proccess Inside of here and still the Threads ran :O
}