Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Build Dynamic Menu Strip
 

Build Dynamic Menu Strip

Hi All ,

I need to create dynamic menu that depending of the user type .

The data can be storage in table or XML file .

Thanks In Advance
Boaz Shalev.
Boaz Shalev  Tuesday, August 23, 2005 7:33 AM
Hi Boaz, could you elaborate more?  You can programatically add data to a menustrip (I assume you're using VS2005) by calling:

menuStrip1.Items.Add(new ToolStripControlHost(new CheckBox()));

or simply:

menuStrip1.Items.Add("hello world");

Adam Plocher  Tuesday, August 30, 2005 6:44 PM

You can use google to search for other answers

Custom Search

More Threads

• Help Need Power Point Rect Tracker Source Code in VC6 or VC7
• C# Designer won't load forms
• listBox or listView: 1 item=Multiple rows with formatting
• Why is VS 2003 .NET Designer mode rendering of screens so slow?
• Customize controls in VB.NET
• User controls disappear when nested (sometimes) (VB2003)
• Change control cursor to cursor from .cur in designer
• Adding controls to a custom control using the designer
• A component does not recognize if it is in design mode!, a bug?
• Hiding the Script Combobox in FONT Dialog