Dialog Close
Message forms close when the user clicks the default button. Then runtime performs these tasks in this order:
Terminate helps.
Free all form structures.
Destroy the window.
Message forms close when the user clicks the default button. Then runtime performs these tasks in this order:
Terminate helps.
Free all form structures.
Destroy the window.