Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2012-03-26
1
Medium Priority
?
682 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 1000 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Starting up a Project

885 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