开发者

Image with opacity like background image for a windows control

I have a image (png file) with opacity 35%, i want for example:

Set t开发者_运维技巧he opacity image to a panel BackgroundImage, the panel is over a form with backcolor black, i thought (like in photoshop happen) that the opacity of the image will do a more clear color in the panel area, but the real result is that panel appear entire white, someone know how i can do this efect in windows forms?


I can't really understand the question. But it sounds like you're trying to blend an image into the background. Check out my code in this thread to see how to use ColorMatrix to achieve this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜