I'm writing an IRC client, where there is an MDI parent with Server and Channel windows. When you close a Server window, it prompts the user and if they want to close it, the connection to the server is closed etc.
I would like there to be only one prompt when the MDI parent is closed rather than a prompt for each server. The problem is when the user tries to close the parent, the child Forms' OnFormClosing is called before the parent's.