如何让财产以后这样
Windows窗体玻璃效果,使ImageBox透明
我用VS 2010
推荐答案如果所有您正在寻找的是标准的玻璃效果(包括模糊),看看这篇文章:
If all you are looking for is the standard glass effect (which includes the blur), check out this article:
的 www.codeproject/KB/vista/AeroGlassForms.aspx
基本上,你正在做的是延长了窗口的框架(已具有玻璃效果)到客户端领域。你必须调用API DWM附带的Windows Vista或更高版本使用一对夫妇的P / Invoke的方法,因为这不是建立在.NET框架
Basically, all you're doing is extending the window's frame (which already has the glass effect) into the client area. You have to call the DWM API that come with Windows Vista or later using a couple of P/invoke methods because this is not built into the .NET Framework.
编辑:如果您正在寻找在模糊效果更多的控制,你可能会考虑更具体的的 DwmEnableBlurBehindWindow 功能,虽然我没有用这个自己。
If you're looking for more control over the blur effect, you might look into more specifically the DwmEnableBlurBehindWindow function from the DWM API, although I have not used this myself.
更多推荐
C#中如何使Windows 7的Aero的winform(所迷离玻璃)?
发布评论