C# - Title Bar "X" does not close the program AND form switching
I have a Visual C# project using windowsforms that does not exit when the X is clicked on any form OTHER than the first form. I think this may have something to do with my form switching?

Currently, I have a Template.CS which is exactly what it sounds like. All of my usage forms extend this by:

    public partial class Welcome : ADL.template

Then, I switch between forms by invoking this method:

        public static void formSwitch(Form in_form, Form out_form)
        {
            in_form.Hide();
            out_form.Show();          
        }

Called by:

    Program.formSwitch(this, new frmUserInput());

What i think is happening here is, the X is closing the Form NOT the application because the starting form is Hidden, not closed. Is there a better way for me to switch between forms? 

Thanks!
C# - Title Bar "X" does not close the program AND form switching
===

I have a Visual C# project using windowsforms that does not exit when the X is clicked on any form OTHER than the first form. I think this may have something to do with my form switching?

Currently, I have a Template.CS which is exactly what it sounds like. All of my usage forms extend this by:

    public partial class Welcome : ADL.template

Then, I switch between forms by invoking this method:

        public static void formSwitch(Form in_form, Form out_form)
        {
            in_form.Hide();
            out_form.Show();          
        }

Called by:

    Program.formSwitch(this, new frmUserInput());

What i think is happening here is, the X is closing the Form NOT the application because the starting form is Hidden, not closed. Is there a better way for me to switch between forms? 

Thanks!