|
-
January 21st, 2011, 10:45 AM
#1
ToolStripMenuItem Collection
Dear Code Gurus,
I am trying to figure out a way to change a "collection" that is displayed in a ToolStripMenuItem. The only way that I found out is to redefine the item each time this collection need to change, i.e. using
Code:
MyToolStrip = new ToolStripMenuItem("My Item", MyImage, NewCollection);
where NewCollection is defined as ToolStripMenuItem[];
Is there a better way to do this, i.e. without reinitializing the whole thing every time it needs to be redefined?
Thank you for your help!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|