问题描述
我使用C#(不是WPF)在winform中开发...
i想创建一个如下图所示的菜单栏?
或任何其他款式但是菜单栏在垂直方向左侧显示可能与否?
[]
其他链接
[]
问候
AR
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
推荐答案
menuStrip1.Dock = DockStyle.Left;
menuStrip1.layoutStyle=VerticalStackWithOverflow;
3.使用backgroundImage,padding& menustrip的字体属性让你看起来如你所愿。
4.for eachustrip item_click在MDI中加载特定的子表单。也设置
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;
这篇关于如何创建像菜单样式的菜单栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!