如何使像在窗口XP中的左菜单 [英] how to make Left menu like in window xp

查看:68
本文介绍了如何使像在窗口XP中的左菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我想像在c#的xp窗口中那样制作左菜单,例如,当我们单击我的电脑"时,在xp窗口中,在该窗口的左侧打开的窗口形式是一个菜单,在该菜单上我们有不同的链接,例如我的计算机,我的网络等.在c#中是否可能?如果是,那怎么办?
谢谢

[edit]删除了虚假代码块-OriginalGriff [/edit]

解决方案

我认为这正是您所需要的. 主题Windows XP样式的资源管理器栏 [
现在,您可以将想要的内容放在面板中以模拟菜单:可能大部分是LinkLabel控件.


hi i want to make left menu like in window xp in c #, for example when we click "my computer" in window xp a window form open on the left side of that window a menu like on which we have different links like my computer, my network place etc .is to possible in c#? if yes then how??
thanks

[edit]Spurious Code block removed - OriginalGriff[/edit]

I think this is exactly what you looking for. Themed Windows XP style Explorer Bar[^]

Good luck.


Yes.
It is possible to add that kind of functionality to your application. However, you have to do the work yourself - there is no standard control for it.

First, create a new form
then:
A) add a splitter to the window.
B) On the splitter iteslf (not one of its panels) set Fixed Panel to the left hand panel, and set the width you want with the splitter bar. Then change IsSplitterFixed to true.

You can now put what you want in the panel to emulate the menu: probably LinkLabel controls mostly.


这篇关于如何使像在窗口XP中的左菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆