Solved

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

Posted on 2012-03-26
1
637 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

803 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