Hi,
I'm writing an application which firstly displays a loginform.
When the user has finished validating himself, I want to open the programform, and close the login form.

The project is set up to start the loginform upon execution.

The problem is that the program quits when I do a me.close on the loginform. I do a .show on the programform before I call the loginforms me.close so that I have a form active, but still the entire program quits.

I'm (trying) to use a MVC (Model-View-Controller) design on my program.

What am I missing? How could I fix this?