I have a windows app with a parent form and a child form which opens on click event of a button in parent form.

There is a button OK in child form.

When I press OK child form closes. I want to do some logic on parent form when child form closes immediately.

Can I track down in parent form with the help of any event or property like it was previouspage method in asp.net.