Click here to Skip to main content
15,886,045 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all
please help,how can i change the font for
C#
messageBox.show("")
in c#?
thanks
Posted
Comments
zyck 7-Feb-12 0:05am    
Is this WebApplication or Windows Application?
FM7 7-Feb-12 5:36am    
it is windows application
Sergey Alexandrovich Kryukov 7-Feb-12 0:06am    
You are not asking about anything certain. Where is the declaration of messageBox, or its full name. Could it be MessageBox? Which one (there are more then one)?
The answer might depend on your clarification, but most likely, it would be: font change is not supported. Create your own dialog from scratch (a Form, a Window, whatever you use).
--SA

Use a window for showing these type of message. Use windowObj.showDialog() method. Learn more about showDialog Method on net.
 
Share this answer
 
 
Share this answer
 
I want to know that how to create message box without button so please suggest me
I searching last 4 month.......
 
Share this answer
 
Take another form, make it such so that it looks like MessageBox and change the font in it.. Show this form (now its MessageBox), on any button click.. :)
 
Share this answer
 

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