I have a C# Form, where you have Form1 shown at the start, and when you press Go you are taken to Form2. Form1
Form
Form1
Go
Form2
Use the FormClosed event on Form2 to exit the application.
private void Form2_FormClosed(object sender, FormClosedEventArgs e) { Application.Exit(); }