Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to disable/enable toolstrip menu item [modified]

how to disable/enable toolstrip menu item [modified]

Scheduled Pinned Locked Moved C#
helptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    crisjala
    wrote on last edited by
    #1

    hi, i'm creating menu and i want disable toolStripMenuItem after i click it so that the form could only open once and enable after i close button ..how to do this plz help

    modified on Wednesday, March 3, 2010 4:46 AM

    L 1 Reply Last reply
    0
    • C crisjala

      hi, i'm creating menu and i want disable toolStripMenuItem after i click it so that the form could only open once and enable after i close button ..how to do this plz help

      modified on Wednesday, March 3, 2010 4:46 AM

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      property .Enabled = false;

      C 1 Reply Last reply
      0
      • L Lost User

        property .Enabled = false;

        C Offline
        C Offline
        crisjala
        wrote on last edited by
        #3

        but i want it programmatically in code because every time the user click the menuItem the form is loaded it disable the menuItem evrytimthe form is close it will enable the menuItem

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups