VB.NET扩展玻璃界面效果

VB.NET 的扩展玻璃效果,挺像当年 Vista 那味儿的毛玻璃界面。用DwmExtendFrameIntoClientArea把窗口边框延伸到内容区,再配合 GDI+,能搞出那种半透明+模糊的高级视觉感。你会碰到文字发虚的问题?用Alpha 混合调一调透明度或者文字颜色就好了。再结合下事件,窗口拖动、放大都能实时响应,UI 看起来就比较丝滑。如果你想快速上手,可以参考压缩包里的GlassExample项目,跑一遍就知道怎么玩了。

rar
GlassExample.rar 预估大小:28个文件
folder
GlassExample 文件夹
file
GlassExample.sln 926B
file
GlassExample.suo 16KB
folder
GlassExample 文件夹
file
Form1.vb 1KB
folder
bin 文件夹
folder
Release 文件夹
folder
Debug 文件夹
file
GlassExample.vshost.exe 14KB
file
GlassExample.pdb 48KB
file
GlassExample.exe 22KB
file
GlassExample.xml 120B
file
GlassExample.vshost.exe.manifest 490B
folder
obj 文件夹
folder
Release 文件夹
folder
Debug 文件夹
file
GlassExample.Form1.resources 180B
file
GlassExample.pdb 48KB
file
GlassExample.Resources.resources 180B
file
GlassExample.vbproj.FileListAbsolute.txt 2KB
file
GlassExample.exe 22KB
file
GlassExample.xml 120B
folder
TempPE 文件夹
file
My Project.Resources.Designer.vb.dll 8KB
file
GlassExample.vbproj.GenerateResource.Cache 847B
file
GlassExample.vbproj 5KB
folder
My Project 文件夹
file
Resources.Designer.vb 3KB
file
Application.myapp 510B
file
Resources.resx 5KB
file
Settings.Designer.vb 3KB
file
Application.Designer.vb 1KB
file
Settings.settings 279B
file
AssemblyInfo.vb 1KB
file
Form1.resx 6KB
file
GlassExample.vbproj.user 74B
file
Form1.Designer.vb 4KB
file
程序说明.txt 91B
rar 文件大小:60.54KB