Don't make the login screen the startup form. In .NET the startup form carries the application thread and so if it gets closed the whole app gets closed. You can either use a Sub Main and ShowDialog for the login or show the login from within the MDI (before showing the MDI).




Reply With Quote