try this example .
1. Open a new C# Windows Forms project in Visual Studio.
2. Open the Project Menu and then select Add Class.
3. At the bottom of the dialog box change the name of the file from class1.cs to MessageBoxManager.cs, press the Add button and then delete everything from the file that opens up.
4. Download the source code from the Code Project article, find MessageBoxManager.cs and copy and paste the code into the blank MessageBoxManager.cs file in Visual Studio.
5. Now open program.cs from Solution Explorer and change the Main() method so it looks like this:
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
MessageBoxManager.OK = "Alright";
MessageBoxManager.Cancel = "Noway";
MessageBoxManager.Register();
MessageBox.Show("This is a message...", "Test", MessageBoxButtons.OKCancel);
Application.Run(new Form1());
MessageBoxManager.Unregister();
}
6. Finally, press F5 to start debugging and you should see a MessageBox pop with the custom text on the buttons, followed by a blank form to customize as you like.
see this link..
Localizing System MessageBox[
^]