So what happened is that I am creating my first ever UI program and when I go into the settings app then I click exit. What I want to happen is to come back to another form but it closes the application altogether.
I have already tried this.Close();
but that is the thing that is causing the problem is what I feel.
Login log = new Login();
this.Close();
log.Show();
I wanted it to show another form which is called 'Login' but it just closed the entire application.