Solved

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

Posted on 2012-03-26
1
628 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
ID: 37771566
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

863 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

22 Experts available now in Live!

Get 1:1 Help Now