المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to ******* an updated MenuStrip at runtime?



C# Programming
09-03-2009, 09:18 AM
At runtime I need to modify the content of a ToolStripMenuItem.
I've made the changes (added and/or removed new items) but cannot figure out how to ******* or notify the MenuStrip to display the changes.

The menu changes are designed to persist between invocations of the program - and they show up properly when the program is closed and then re-executed. So, I know I've defined and added all of the items correctly - just can't get the changes to appear immediately after they're added.

Any ideas would be appreciated.