Is there a way to close a form through code? I have 5 forms named form1, form2, etc. And I need to close one of them the way you would by clicking on the X, but through code.

Thanks