Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Alpha 混合形式没有问题(例如http://www.codeproject.com/KB/graphics/alphaBG.aspx),但 alpha 混合控件(如具有 32 位图像的图片框)不起作用......
这是我的问题:
我有 alpha 混合形式(不必是 alpha 混合形式),并且在表单的完全透明部分上,我想用 32 位图像绘制图片框。但是这个图像的背景是透明色(紫红色)
我怎样才能使图片框也完全混合?
看看 MSDN 论坛上的这个帖子 http://social.msdn.microsoft.com/forums/en-US/netfxcompact/thread/9aeab184-2a45-4bd4-8157-2a629523e80b/和 C# Corner http 上的这个帖子: //www.c-sharpcorner.com/UploadFile/mahesh/DrawTransparentImageUsingAB10102005010514AM/DrawTransparentImageUsingAB.aspx