Results 1 to 3 of 3

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

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2010
    Posts
    124

    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 2009
    Location
    Canada
    Posts
    2,802

    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

    Thread Starter
    Lively Member
    Join Date
    Mar 2010
    Posts
    124

    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
  •  



Click Here to Expand Forum to Full Width