Hi all
i have a parent form named Loginform after the user enter the right User Name and Password another form opened named Form1, all i need that when i closed Form1 from the ControlBox (X) the Loginform closed too, How?
Many Thanks.
Close Parent form from child form
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Dec 19, 2012, 1:16 PM EST
Consequently, rather than closing the Loginfrom explicitly, you might as well call Application.Exit() to close down the whole application.
Mohammed Gamal67 reputationPosted Dec 19, 2012, 9:48 PM EST