This example shows how you can implement a custom Messaging descendant . The complete description is available in the How to: Implement a Custom Messaging Class help topic.
using System.Windows.Forms;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Win.Core;
namespace CustomMessaging.Module.Win {
class CustomWinFormsMessageBoxMessaging : Messaging {
public CustomWinFormsMessageBoxMessaging(XafApplication application)
: base(application) { }
protected override DialogResult ShowCore(
string message, string caption, MessageBoxButtons buttons, MessageBoxIcon icon) {
return MessageBox.Show(message, caption, buttons, icon);
}
}
}
Facebook
Twitter
Google+