Solved

Using the MS SQL - Microsoft.ExceptionMessageBox ExceptionMessageBox in WPF App

Posted on 2012-03-26
1
615 Views
Last Modified: 2012-06-27
Hi,

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?
0
Comment
Question by:pcpal4
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
Comment Utility
I would think that the only way you could add custom chrome was if the class was a WPF class.  I don't have experience with the ExceptionMessageBox class, but my first guess would be that it isn't a WPF class.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

A short article about problems I had with the new location API and permissions in Marshmallow
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now