Search code examples
winformsmessagebox

Windows Forms YesNo Message Box - Buttons Text


Possible Duplicate:
How to change button text for Yes & No buttons on MessageBox.Show Dialog?

In a Windows Forms application I have a MessageBox with YesNo buttons. I want to change the text on the buttons (from "Yes", "No" to something custom).


Solution

  • If I were you I'd create my own MessageBox dialog. It's not that hard and I'm sure you'd be able to do this faster than hacking the standard MessageBox.