Click here to Skip to main content
12,512,130 members (51,057 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
Hi all
please help,how can i change the font for
messageBox.show("")
in c#?
thanks
Posted 6-Feb-12 17:55pm
FM7623
Comments
zyck 7-Feb-12 0:05am
   
Is this WebApplication or Windows Application?
mostafaparsaee 7-Feb-12 5:36am
   
it is windows application
SAKryukov 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
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Use a window for showing these type of message. Use windowObj.showDialog() method. Learn more about showDialog Method on net.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

I want to know that how to create message box without button so please suggest me
I searching last 4 month.......
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 4

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.. :)
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160929.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100