Click here to Skip to main content
15,848,483 members
Home / Discussions / C#
   

C#

 
AnswerRe: C++ dll, again.. Pin
Giorgi Dalakishvili7-Sep-07 3:59
mentorGiorgi Dalakishvili7-Sep-07 3:59 
GeneralRe: C++ dll, again.. Pin
Dio227-Sep-07 4:13
Dio227-Sep-07 4:13 
QuestionI read about this here Pin
XFighter7-Sep-07 3:53
XFighter7-Sep-07 3:53 
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 
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 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 
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 

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.