1

Can you center text in a message box? or does the whole message have to be left aligned? also how do you make some text in a message box bold well leaving the remainder of the text standard?

Subby
  • 5,370
  • 15
  • 70
  • 125
Kiwilad
  • 85
  • 1
  • 1
  • 12
  • An example for you http://stackoverflow.com/questions/9569489/easiest-way-to-create-a-custom-dialog-box-which-returns-a-value/9569772#9569772 – Steve Aug 04 '14 at 11:03

2 Answers2

2

You can`t restyle the default message box. You can create your custom message box(Dialog) and call it with .ShowDialog().

nsgocev
  • 4,390
  • 28
  • 37
1

No, You can't center or bold the text in Message Box

You can do it over Dialog Box

Earth
  • 3,477
  • 6
  • 37
  • 78
  • could you please post a code example of the usage of DialogBox in a c# environment. I ask, as others will ask this question and it would help them to have an example of code to look at. – Kiwilad Aug 04 '14 at 11:52
  • Follow the `C# Customized Dialog Box` in this http://www.dotnetperls.com/customized-dialog link – Earth Aug 04 '14 at 12:08