The Problem Solver

Tell me and I will forget
Show me and I will remember
Involve me and I will understand
- Confucius -

Google Ads

This Blog

Syndication

Search

Tags

News





  • View Maurice De Beijer's profile on LinkedIn

Community

Email Notifications

Explore

Archives

Disabling items on a ContextMenuStrip
Need to dynamically alter the dropdown contents to a ContextMenuStrip item?
 
Well the Opening and, if needed, the Closed events are your friends. Use the opening event to dynamically enable/disable items. You can also dynamically add new items in which case the Closed event is the place to remove them again.
 
Enjoy!
 
Maurice de Beijer
Published Sun, Sep 17 2006 14:00 by Maurice
Filed under: