Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i develop in winform using C# ( not WPF )...

i want to create a menu bar like below image ?

or any other style but menubar display the left handside at vertically its possible or not ?

https://skydrive.live.com/?cid=E5D0ACBF3E3FC986&id=E5D0ACBF3E3FC986%21107#cid=E5D0ACBF3E3FC986&id=E5D0ACBF3E3FC986%21115&v=3[^]

other link

http://social.msdn.microsoft.com/Forums/en-US/3947fee2-6ea3-46e4-9162-1c2f4c2b7e8d/how-to-create-menu-bar-in-tab-style-?forum=netfxbcl&prof=required[^]




Regards
AR
Posted
Updated 20-Dec-13 19:11pm
v3
Comments
Sergey Alexandrovich Kryukov 21-Dec-13 1:02am    
This link does not work. Please check up.
—SA
An@nd Rajan10 21-Dec-13 1:06am    
its work, what is your error in link ?
Sergey Alexandrovich Kryukov 21-Dec-13 1:10am    
Address Not Found
skydrive.live.com
An@nd Rajan10 21-Dec-13 1:11am    
try my new link in question
BillWoodruff 21-Dec-13 5:01am    
Your first link shows a simple popup-menu triggered, I'd guess, by a context-click.

Your second link shows the Visual Studio/Solution Explorer/Project/ Properties ui: with a "page" selector of horizontal tabs on the left.

But, that ui selector has no hierarchical features: there's no sub-anythings that drop down.

I'm not sure what you want here. It's a simple thing to create a ui like the Visual Studio Solution Explorer Project Properties, however: simple to prototype, that is.

As I commented on your previous question, I think that if you really want a hierarchical selection ui, you are best off using a TreeView.

More details, please.

1 solution

Its simple.Please go as follows:-
1.Create MDI Form.
2.take menu strip control on it, set following properties of menustrip
menuStrip1.Dock = DockStyle.Left;

menuStrip1.layoutStyle=VerticalStackWithOverflow;

3.make use of backgroundImage, padding & font property of menustrip to give look as you like.
4.for each menustrip item_click load specific child form in MDI.also set
Form1.Dock = DockStyle.Fill;
 
Share this answer
 
Comments
An@nd Rajan10 21-Dec-13 3:11am    
this way i know..
i want to list always in sub menus, you have any idea?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900