private void KillSwitch_Click(object sender, EventArgs e) { ProcessHelpers.KillTrainers(); ProcessHelpers.KillClients(ApplicationNameTextBox.Text); System.Windows.Forms.Application.Exit(); }