AeroGlass与VB.net [英] AeroGlass with VB.net
问题描述
我工作如何添加玻璃效果,以双赢的形式在vb.net或C#
我看了很多的例子如使用e.graphics使同赢形式维方和其他人没有任何e.graphics招做得确实不错。
但我的问题是,我没有看,使用如按钮,标签,下拉菜单等的玻璃效果的胜利表上的Windows控件的任何实例。
在搜索我发现这篇文章对于C ++网站:
的http://www.$c$cproject.com/Articles/18910/Adding-or-Retrofitting-Aero-Glass-into-Legacy-Wind
如果你从文章的图片,我有这个问题,我希望做这样的事情的。NET
,您可以使用自行绘制控件,或者放在控件的背面纯色面板,或使用现代化的透明度兼容的解决方案,像WPF。
I was working on how to add glass effect to a win forms in vb.net or c#
I looked a lot of examples like using e.graphics to make a square with the win form dimension and others are done really good without any e.graphics trick.
But my problem is that I didn't look any example that uses windows controls like buttons, labels, dropdowns, etc on a glass effect win form.
Searching on the web I found this article for C++:
http://www.codeproject.com/Articles/18910/Adding-or-Retrofitting-Aero-Glass-into-Legacy-Wind
If you look at the images from the article, I am having that problem and I wish to do something like that for .NET
The answers in here provide a great value for your question: Windows aero glass form text problem
Because of the inherent limitation of WinForms, you can either use owner-drawn controls, or put a solid-color panel on back of the controls, or use a modern transparency-compatible solution, like WPF.
这篇关于AeroGlass与VB.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!