ChewDoggie
Programmer
Hello,
I have a context menu strip and the menu has "Items" in it, but it also has, what I call, "Sub Items". The "Items" are
"New ..." (ItemIndex 0)
Line Separator (ItemIndex 1)
"Edit >" (ItemIndex 2)
Beneath "Edit" there a another list of "Sub Items":
"Personal Info ..."
"Contact Info ..."
"Department ..."
"Status ..."
I can access the first layer of Items ("New" and "Edit") with:
I cannot, for the sake of me, figure out how to programmatically access the second layer of Items ("Personal", "Contact", etc).
Any help would be appreciated.
Chew
10% of your life is what happens to you. 90% of your life is how you deal with it.
I have a context menu strip and the menu has "Items" in it, but it also has, what I call, "Sub Items". The "Items" are
"New ..." (ItemIndex 0)
Line Separator (ItemIndex 1)
"Edit >" (ItemIndex 2)
Beneath "Edit" there a another list of "Sub Items":
"Personal Info ..."
"Contact Info ..."
"Department ..."
"Status ..."
I can access the first layer of Items ("New" and "Edit") with:
Code:
cmsAssociates.Items[ItemIndex].Enabled = true;
I cannot, for the sake of me, figure out how to programmatically access the second layer of Items ("Personal", "Contact", etc).
Any help would be appreciated.
Chew
10% of your life is what happens to you. 90% of your life is how you deal with it.