Click here to Skip to main content
15,949,686 members
Home / Discussions / C#
   

C#

 
AnswerRe: C++ dll, again.. Pin
Giorgi Dalakishvili7-Sep-07 2:59
mentorGiorgi Dalakishvili7-Sep-07 2:59 
GeneralRe: C++ dll, again.. Pin
Dio227-Sep-07 3:13
Dio227-Sep-07 3:13 
QuestionI read about this here Pin
XFighter7-Sep-07 2:53
XFighter7-Sep-07 2:53 
AnswerRe: I read about this here Pin
Giorgi Dalakishvili7-Sep-07 2:56
mentorGiorgi Dalakishvili7-Sep-07 2:56 
AnswerRe: I read about this here Pin
led mike7-Sep-07 4:36
led mike7-Sep-07 4:36 
QuestionHow to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 2:34
c0rvus7-Sep-07 2:34 
AnswerRe: How to get a MenuItem's name in runtime Pin
Giorgi Dalakishvili7-Sep-07 2:50
mentorGiorgi Dalakishvili7-Sep-07 2:50 
GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 3:28
c0rvus7-Sep-07 3:28 
Hm,.. I know how to retrieve all the MenuItems from the Menu itself but I dont know how to retrieve the name of a MenuItem which is extremly important to me as I need it to create a unique identification for each control.

for instance:

ContextMenu
->mnuItem1
->mnuItem2
->mnuItem3
->mnuSubItem1
->mnuSubItem2

is my menu.
That would mean i had the following entries in my textfile:

Form1.mnuItem1;....;....
Form1.mnuItem2;....;....

so i would try something like this:

private void RenameMenuItem(MenuItem item, string formName)
{
GetName(formName + "." + item.Name) <--- that would be what i'd like it to be

foreach(MenuItem menuItem in item.MenuItems)
{
RenameMenuItems(menuItem);
}
}

You see, I really need the item's name to read the according new name from the text file.
AnswerRe: How to get a MenuItem's name in runtime Pin
Scott Dorman7-Sep-07 3:22
professionalScott Dorman7-Sep-07 3:22 
GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 3:31
c0rvus7-Sep-07 3:31 
GeneralRe: How to get a MenuItem's name in runtime Pin
Scott Dorman7-Sep-07 4:21
professionalScott Dorman7-Sep-07 4:21 
GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 6:57
c0rvus7-Sep-07 6:57 
QuestionRichTextBox e Pin
mihksoft7-Sep-07 1:49
mihksoft7-Sep-07 1:49 
AnswerRe: RichTextBox e Pin
Pete O'Hanlon7-Sep-07 1:52
mvePete O'Hanlon7-Sep-07 1:52 
GeneralRe: RichTextBox e Pin
mihksoft7-Sep-07 1:55
mihksoft7-Sep-07 1:55 
AnswerRe: RichTextBox e Pin
Giorgi Dalakishvili7-Sep-07 2:00
mentorGiorgi Dalakishvili7-Sep-07 2:00 
GeneralRe: RichTextBox e Pin
mihksoft7-Sep-07 2:14
mihksoft7-Sep-07 2:14 
GeneralRe: RichTextBox e Pin
Giorgi Dalakishvili7-Sep-07 2:26
mentorGiorgi Dalakishvili7-Sep-07 2:26 
AnswerRe: RichTextBox e Pin
Luc Pattyn7-Sep-07 2:21
sitebuilderLuc Pattyn7-Sep-07 2:21 
QuestionHave a timer on a function Pin
andredani7-Sep-07 1:48
andredani7-Sep-07 1:48 
AnswerRe: Have a timer on a function Pin
Giorgi Dalakishvili7-Sep-07 1:52
mentorGiorgi Dalakishvili7-Sep-07 1:52 
Questionglobal.asax Pin
kalyan_24167-Sep-07 1:27
kalyan_24167-Sep-07 1:27 
AnswerRe: global.asax Pin
Giorgi Dalakishvili7-Sep-07 1:34
mentorGiorgi Dalakishvili7-Sep-07 1:34 
AnswerRe: global.asax Pin
Pete O'Hanlon7-Sep-07 1:39
mvePete O'Hanlon7-Sep-07 1:39 
QuestionProjectitem documents replacetext. Pin
topcatalpha7-Sep-07 1:26
topcatalpha7-Sep-07 1:26 

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.