Results 1 to 3 of 3

Thread: [RESOLVED] Add a child menu items in code to MenuStrip in C#?

  1. #1
    Lively Member
    Join Date
    Mar 10
    Posts
    119

    Resolved [RESOLVED] Add a child menu items in code to MenuStrip in C#?

    I have a MenuStrip in Form, in there I had many Menu items:
    -a
    --b
    --c
    --d

    I want to code to have:
    -a
    --b
    --c
    --d
    ---e
    ---f

    How to do this? Thanks.

  2. #2
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 09
    Location
    Canada
    Posts
    2,797

    Re: Add a child menu items in code to MenuStrip in C#?

    You would just add the new items to the appropriate item's DropDownItems collection.

  3. #3
    Lively Member
    Join Date
    Mar 10
    Posts
    119

    Re: Add a child menu items in code to MenuStrip in C#?

    Thanks. I have resolved!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •