Visual Studio 2005+样式界面 [英] Visual Studio 2005+ style interfaces

查看:127
本文介绍了Visual Studio 2005+样式界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.NET是否可以使用Visual Studio样式的组件编写应用程序,例如带标签的MDI窗口以及对接工具栏的接口等?

我已经看到了一些第三方库有点问题,但是第三方图书馆是做到这一点的唯一方法吗?这不是我愿意支付的东西,因此如果需要,我必须从头开始做类似的事情.

我对Windows Forms并没有真正做很多事情,但是我曾经使用Win32 API和MFC有点抱歉,如果这是.NET可以轻松地直接解决的问题,但是如果我不确定该在哪里!

有没有关于此类事情的示例?我开始了吗?我没有设法通过搜索找到任何内容.

谢谢!

Hi, is it possible in .NET to write applications with Visual Studio style components such as tabbed MDI windows and the interface for docking toolbars etc.?

I''ve seen some 3rd party libraries for this sort of thing but are 3rd party libraries the only way to do this? It''s not something I''m willing to pay for so if need be I''d have to do similar from scratch.

I''ve not really done much with Windows Forms but I used to use Win32 API and MFC a little so apologies if this is something .NET supports easily straight out the box but if it is I''m not sure where!

Are there any examples on this sort of thing to get me started? I''ve not managed to find anything by searching.

Thanks!

推荐答案

是的.

您基本上有2个选择.

1)自己编写.
2)找到第3方控件.

如果您选择自己编写,最好的解决方法是可能正在创建某种自定义控件.您必须自己编写所有对接和绘图逻辑.这将是非常复杂的,并且可能非常棘手.

如果您选择查找第三方控件,则可以找到免费/开源控件,也可以付费购买.周围有开源控件,您既可以使用它们,也可以将其用作自己的基础. CP上有几种: http://www.codeproject.com/KB/miscctrl/magicdocking.aspx [^ ]

Yes it''s possible.

You basically have 2 choices.

1) Write it yourself.
2) Find 3rd party controls.

If you choose to write it yourself, the best way to go about it will probably be creating some kind of custom control. You''ll have to write all the docking and drawing logic your self. This would be quite complex, and probably fairly tricky.

If you choose to find 3rd party controls you can either find free/open source ones, or you can pay for them. There are open source controls around, which you could either just use, or use as base for your own. There''s several on CP: http://www.codeproject.com/KB/miscctrl/magicdocking.aspx[^]


还有第三种选择,那就是实际上使用MS免费提供的Visual Studio shell.

Theres a third choice, which is to actually use the Visual Studio shell, which MS makes available for free.

http://msdn.microsoft.com/en-us/library/bb685612.aspx


这篇关于Visual Studio 2005+样式界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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