我可以模仿使用C#WinForm的这个选项对话框窗口? [英] Can I mimic this option dialog window using C# WinForm?

查看:288
本文介绍了我可以模仿使用C#WinForm的这个选项对话框窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这就是选项对话框看起来像在Outlook 2010中我不知道我可以创建一个类似的选项窗口,在C#的WinForm控件。

This is what the option dialog window looks like in Outlook 2010. I wonder how I can create a similar option window with C# WinForm controls.

看着它首先,我认为这有点像工作的TabControl 。但的TabControl 似乎并没有提供左/右面板布局。

Looking at it first, I thought it kinda works like TabControl. But TabControl doesn't seem to offer Left/Right panel layout.

于是,我想到的SplitContainer 控制,很可能利用它,在左边的面板中可以具有菜单按钮的列表优势,而右侧面板显示选项​​的详细信息。

Then, I thought of SplitContainer control and could probably take advantage of it, where the left panel could be having a list of menu buttons, and the right panel displaying the option details.

不过,在这里还附带了问题,我怎么可以创建一个看起来像那些截图,然后菜单按钮?

However, here also comes the problems, how can I create menu buttons that look like those in the screenshot then?

也许,有一些是我很想念现有的控制。

Perhaps, there're some existing controls that I am missing.

如果WinForm的不好看在这里,我还能尝试一下呢?有任何想法吗?谢谢。

If WinForm doesn't look good here, what else could I try? Any ideas? Thanks.

推荐答案

您可以使用TabControl的,隐藏的是它的标签。与标签名称添加一个ListView向左和更改活动标签时,列表视图中选择更改。

You can use TabControl, hide all of it's tabs. Add a ListView with the tab names to the left and change active tab when list view selection changes.

这篇关于我可以模仿使用C#WinForm的这个选项对话框窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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