Solved

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

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

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.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

830 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