G
genc ymeri
Hi,
I'm a newbie in C# programming but something very weird is happening to me

I have this menu in a C# form.
"File" and under this {"New","Open", "Exit"} and
"Help" with {"Content", "About"};
when I run this code :
for (short j = 0; (j < mnufrmMain.MenuItems.Count );j++)
{
MessageBox.Show(mnufrmMain.MenuItems[j].Text);
}
only "File" and "Help" show up while all the other menu items e.g.
{"New","Open", "Exit","Content", "About"}; do not show ?
Any explanation or how to browse in each of these items will be greatly
appreciated.
Thank You very much in advance !
I'm a newbie in C# programming but something very weird is happening to me


I have this menu in a C# form.
"File" and under this {"New","Open", "Exit"} and
"Help" with {"Content", "About"};
when I run this code :
for (short j = 0; (j < mnufrmMain.MenuItems.Count );j++)
{
MessageBox.Show(mnufrmMain.MenuItems[j].Text);
}
only "File" and "Help" show up while all the other menu items e.g.
{"New","Open", "Exit","Content", "About"}; do not show ?
Any explanation or how to browse in each of these items will be greatly
appreciated.
Thank You very much in advance !