Microsoft
Software
Hardware
Network
Question : c# sub menu items
Hi!
I would like to know how to access all the sub menu items under a given menu in c#.
I have the following code for accessing the top menu:
for (int a = 0; a <= menuStrip1.Items.Count - 1; a++)
{
if (menuStrip1.Items[a].Name.
ToString()
== str_menu_name)
{
/*
Tree Menu:
- sub menu1
- sub menu2
**/
}
}
// Tree Menu =>menuStrip1.Items[a]
// How to get access to sub menu1 and sub menu 2?
Please help!
Answer : c# sub menu items
Hi there, I think this may be what you need:
http://weblogs.asp.net/raj
bk/archive
/2007/05/2
6/changing
-the-
conne
ctionstrin
g-of-a-wiz
ard-genera
ted-tablea
dapter-at-
runtime-fr
om-an-obje
ctdatasour
ce.aspx
Random Solutions
Cisco CME - One DID to display its own number in caller ID
Dynamically passing the parameter the service constructor (without configuration file)
Sending a web API command from Asterisk
VMWare Lab Manager 4.0 and deployed VMs
UltraTree and Filtering ?
execute onLoad only once in an ASP page
CA etrust Threat Management
Using 3rd Party SSL to Setup Exhange 2007, Outlook 2007, Server 2003 with Terminal Services
Cannot Access Drive
Any best tool to copy users profile during server/domain migration ?