how to close a windows form in c# when that form transfer control to an other form?

Posted by moon on Stack Overflow See other posts from Stack Overflow or by moon
Published on 2010-03-19T06:19:26Z Indexed on 2010/03/19 6:21 UTC
Read the original article Hit count: 213

Filed under:

i have encountered a problem in my application i have two windows forms one that is loaded when my application is started and ask for a password and other is shown when click log in with correct password ,

problem is how can i close the first form that is log in form when user proceed to next from that is actual application,

currently i hide the first form but the requirement is to close that form to prevent extra processing when i close that log in form my application is closed and when i close the actual application form that log in form remain open. my application is not fully closed, log in form is running in background how can in fix this....

© Stack Overflow or respective owner

Related posts about c#