dispose the existing and open new form in c#
<p>I have two forms in my program. The first is the login form and the other is the home form.
When i click the 'Enter' button on the login form, it should close or dispose the login form and then open the new home form. I have not been able to do this. Please help me out.</p>
