Click here to Skip to main content
Rate this: bad
good
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
FM7617
Comments
zyck at 7-Feb-12 0:05am
   
Is this WebApplication or Windows Application?
mostafaparsaee at 7-Feb-12 5:36am
   
it is windows application
SAKryukov at 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.. Smile | :)
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 545
1 CPallini 490
2 George Jonsson 291
3 OriginalGriff 260
4 Suvabrata Roy 219
0 OriginalGriff 4,873
1 CPallini 3,900
2 Sergey Alexandrovich Kryukov 3,474
3 George Jonsson 2,646
4 Gihan Liyanage 2,236


Advertise | Privacy | Mobile
Web04 | 2.8.140905.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2014
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