When you have a modified screen, error messages coming from host, are shown in a message box.
If you want to implement an own error handling, you can subscripe to event HostErrorMessage.
In the event set the property Cancel of the event arguments to true. This disables default error handling.
You could add your own errorhandling code in the same place.
e.Cancel = true; MessageBox.Show(Screen.ErrorMessage);