Scenario
A confirmation message appears when the main application window is being closed by a user to avoid accidental closure of the whole application and losing all opened screens:
Implementation
To use this solution in your project, simply copy the ...\WinSolution.Module.Win\PromptClosingLastMainWindowController.xx file into your WinForms module project.