The example application demonstrates how to create and use MessageBox dialogs on the Form.
Download the file by clicking the link above.