Click here to Skip to main content
15,891,902 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all,

I want to display a MessageBox for which i am using MessageBox.Show method. But the look n feel is very diferent. I want a MessageBox like in Office 2010.

Thanks in advance.
Posted
Updated 26-Aug-10 2:44am
v2

So create one.

Create a window stylized the way you would like and display it.
 
Share this answer
 
Comments
Simon Dufour 26-Aug-10 10:46am    
Reason for my vote of 5
That's the way I would have done it.
I wrote a project a few months ago about how to create custom message boxes: Roll Your Own MsgBox[^] It is in VB, but should be easily translatable into C# if you need.
 
Share this answer
 
v2
Could you please provide sample code to do that...
 
Share this answer
 
Comments
Nish Nishant 26-Aug-10 9:14am    
It's quite unlikely that he will. It is a fair bit of work. You may want to search for some reusable generic classes though.
Ankur\m/ 26-Aug-10 9:36am    
Also, do not add an answer to discuss with the user as he doesn't get any notification for that.
Rather use 'Add Comment' feature below his answer to discuss with him, the way I did.
Simon Dufour 26-Aug-10 10:43am    
Reason for my vote of 1
Should have been a comment.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900