November 8th, 2012, 01:00 PM
I have winforms app with a login form in which the user enters a user Id and a password. After the correct user id and password is entered, the main form is displayed. When the main form is closed the Login form is still there. I need to get rid of the login form. I haven't been able to figure out how to do this. How do I get to the the Main Form's closing or unloading event? And when I am able to get to this event what do I type to close the login form?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.