Click here to Skip to main content
15,791,740 members
Home / Discussions / C#
   

C#

 
AnswerRe: I read about this here Pin
Giorgi Dalakishvili7-Sep-07 3:56
mentorGiorgi Dalakishvili7-Sep-07 3:56 
AnswerRe: I read about this here Pin
led mike7-Sep-07 5:36
led mike7-Sep-07 5:36 
QuestionHow to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 3:34
c0rvus7-Sep-07 3:34 
AnswerRe: How to get a MenuItem's name in runtime Pin
Giorgi Dalakishvili7-Sep-07 3:50
mentorGiorgi Dalakishvili7-Sep-07 3:50 
GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 4:28
c0rvus7-Sep-07 4:28 
AnswerRe: How to get a MenuItem's name in runtime Pin
Scott Dorman7-Sep-07 4:22
professionalScott Dorman7-Sep-07 4:22 
GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 4:31
c0rvus7-Sep-07 4:31 
GeneralRe: How to get a MenuItem's name in runtime Pin
Scott Dorman7-Sep-07 5:21
professionalScott Dorman7-Sep-07 5:21 
You shouldn't be casting MenuItem to Control, it should probably be the other direction. The Name property should always be unique (and if you're using the Forms designer it will guarantee that it is) so that should be your key into the text file.

Since you are trying to do localization, is there a reason you aren't using the built-in localization that Windows Forms and .NET provides?


Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 7:57
c0rvus7-Sep-07 7:57 
QuestionRichTextBox e Pin
mihksoft7-Sep-07 2:49
mihksoft7-Sep-07 2:49 
AnswerRe: RichTextBox e Pin
Pete O'Hanlon7-Sep-07 2:52
subeditorPete O'Hanlon7-Sep-07 2:52 
GeneralRe: RichTextBox e Pin
mihksoft7-Sep-07 2:55
mihksoft7-Sep-07 2:55 
AnswerRe: RichTextBox e Pin
Giorgi Dalakishvili7-Sep-07 3:00
mentorGiorgi Dalakishvili7-Sep-07 3:00 
GeneralRe: RichTextBox e Pin
mihksoft7-Sep-07 3:14
mihksoft7-Sep-07 3:14 
GeneralRe: RichTextBox e Pin
Giorgi Dalakishvili7-Sep-07 3:26
mentorGiorgi Dalakishvili7-Sep-07 3:26 
AnswerRe: RichTextBox e Pin
Luc Pattyn7-Sep-07 3:21
sitebuilderLuc Pattyn7-Sep-07 3:21 
QuestionHave a timer on a function Pin
andredani7-Sep-07 2:48
andredani7-Sep-07 2:48 
AnswerRe: Have a timer on a function Pin
Giorgi Dalakishvili7-Sep-07 2:52
mentorGiorgi Dalakishvili7-Sep-07 2:52 
Questionglobal.asax Pin
kalyan_24167-Sep-07 2:27
kalyan_24167-Sep-07 2:27 
AnswerRe: global.asax Pin
Giorgi Dalakishvili7-Sep-07 2:34
mentorGiorgi Dalakishvili7-Sep-07 2:34 
AnswerRe: global.asax Pin
Pete O'Hanlon7-Sep-07 2:39
subeditorPete O'Hanlon7-Sep-07 2:39 
QuestionProjectitem documents replacetext. Pin
topcatalpha7-Sep-07 2:26
topcatalpha7-Sep-07 2:26 
AnswerRe: Projectitem documents replacetext. Pin
topcatalpha7-Sep-07 3:38
topcatalpha7-Sep-07 3:38 
Questionmutlicasting problem Pin
snouto7-Sep-07 1:47
snouto7-Sep-07 1:47 
QuestionList View Column Manipulation Pin
M. J. Jaya Chitra7-Sep-07 1:02
M. J. Jaya Chitra7-Sep-07 1:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.