如何在DockPanel套件中获得像VS2010一样的Square文档选项卡? [英] How can I get Square document tabs in the DockPanel suite like VS2010?

查看:59
本文介绍了如何在DockPanel套件中获得像VS2010一样的Square文档选项卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Weifen Luo的优秀DockPanel套件,我也在SourceForge论坛上发布了这个问题。我试图逐步完成代码,但我对图形编程并不擅长。



我想知道是否有可能有办法让文档标签看起来更像VS2010:



< img src =https://webfiles.uci.edu/bchart/images/squareTabs.png />



而不是像VS2005:



< img src =https:// webfiles.uci.edu/bchart/images/vs2005Tabs.png/>



任何提示都将不胜感激!谢谢

解决方案

Visual Studio UI在WPF中完成。



DockPanel套件是Windows窗体



你可以在这里查看Avalon Dock http://avalondock.codeplex.com/ [ ^ ]它是在WPF中完成的。虽然选项卡有VS2005看起来,虽然更好一点


CP这里有关于自定义WinForms中的Tab控件的文章(但它们通常是较旧的文章)[ ^ ]。

I am using Weifen Luo's excellent DockPanel suite, and I've also posted in the SourceForge forums about this too. I've attempted to step through the code but I'm not that good at Graphics programming.

I was wondering if, by any chance, there might be a way to get Document tabs to look more like VS2010:

<img src="https://webfiles.uci.edu/bchart/images/squareTabs.png" />

instead of like VS2005:

<img src="https://webfiles.uci.edu/bchart/images/vs2005Tabs.png" />

Any hints would be appreciated! Thanks

解决方案

Visual Studio UI was done in WPF.

DockPanel Suite is Windows Forms

You can check out Avalon Dock here http://avalondock.codeplex.com/[^] It was done in WPF. Although the tabs have that VS2005 look to them, although a bit nicer


CP has articles here on customizing the Tab Control in WinForms (but they are, in general, older articles)[^].


这篇关于如何在DockPanel套件中获得像VS2010一样的Square文档选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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