Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 11th, 2007, 01:17 AM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default MessageBox Buttons Text

hi expert
i asked thid question afew time ago but any wan didn;t help me
this problemis verry importatnt to me
i wanna know how can i change the text of Button(s) of MessageBox Class to my localize langguage?
any idea ,cod ,article nd ... can useful for me
best wisies
 
Old April 11th, 2007, 08:35 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

http://msdn2.microsoft.com/en-us/lib...ebox.show.aspx

-Peter
 
Old April 11th, 2007, 01:13 PM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi
i see this page more than one
but i don't found the answer of my question
do you understand my question?
i wanna to change the Text of MessageBox Buttons
for example
i wanna when i write MessageBox.Show("sample Text",Sample Caption",
MessageBoxButtons.Ok,MesageBoxIcons.Error);

then i have recive the MesageBox Form that the Text OF MessageBoxButon doesn't Ok // for Example the Text of MessageBoxButton will be Okay

do you understand my goal?
 
Old April 11th, 2007, 01:32 PM
Authorized User
 
Join Date: Feb 2007
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Maybe you should use a dialog box instead.

There are 10 types of people - Those who understand binary, and those who don't.
 
Old April 11th, 2007, 02:13 PM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi
can you explain more?
 
Old April 11th, 2007, 05:11 PM
Registered User
 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you please give an example of what text you would want to use for these buttons and what actions these buttons would correspond with on the message dialog form.

Any form can be shown as a dialog. This form can then have standard buttons added to it which have there properties set to return dialog button responses back to the calling client.



Quote:
quote:Originally posted by angelboy
 hi
i see this page more than one
but i don't found the answer of my question
do you understand my question?
i wanna to change the Text of MessageBox Buttons
for example
i wanna when i write MessageBox.Show("sample Text",Sample Caption",
MessageBoxButtons.Ok,MesageBoxIcons.Error);

then i have recive the MesageBox Form that the Text OF MessageBoxButon doesn't Ok // for Example the Text of MessageBoxButton will be Okay

do you understand my goal?
 
Old April 12th, 2007, 12:29 AM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i wanna change the text of MessageBox Button from English to arabic

i know how i can use any form in dialog form // and i know every Button has has DialogrESULT PROPERTY // but i don't wanna to use form for dialog Box // i wanna to change MessageBoxButton Text to Localize Language

do you understand?
regards





Similar Threads
Thread Thread Starter Forum Replies Last Post
updating text fields with option buttons redtechcoms Access VBA 7 February 2nd, 2006 03:14 PM
text in messagebox in not showing (.net 2003) prasant.swain VS.NET 2002/2003 1 January 10th, 2006 09:04 AM
No text in messagebox Chapter 1 mitercut BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 13 February 4th, 2005 11:03 AM
Answer to why messagebox has no text mitercut BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 September 15th, 2004 07:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.