Using the MS SQL - Microsoft.ExceptionMessageBox ExceptionMessageBox in WPF App
Posted on 2012-03-26
I'm working on a VS2010 WPF C# desktop application and adding custom chrome to the windows, controls, etc.
I would like to also create a custom chrome for any MessageBox that needs to be used throughout the application.
I like the functionality of the Microsoft.SqlServer.MessageBox.ExceptionMessageBox. I know I can add it as a reference to my application and use it by calling ExceptionMessageBox and setting the various properties. However, I can't seem to find a way to add a custom chrome so it doesn't look like a typical windows forms messagebox.
I thought about creating a new custom chrome window as a messagebox and showing it as a dialog but then I have to write all of the code to mimic the functionality and properties in the Microsoft.SqlServer.MessageBox.ExceptionMessageBox. This doesn't seem like an efficient solution.
Is there anyway to add custom chrome to the Microsoft.SqlServer.MessageBox.ExceptionMessageBox so it will look like my other windows?