如何将LayeredWindow附加到特定表单? [英] How do you attach a LayeredWindow to a specific Form?

查看:83
本文介绍了如何将LayeredWindow附加到特定表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在窗口/表单上添加某种水印。我正在使用LayeredWindow。问题是确保打开每个窗口/窗体上的水印。必须至少支持Windows 7.

I'm trying to add some sort of a watermark on windows/forms. I'm using a LayeredWindow for this. The problem is making sure the watermark is on every window/form opened. Must support at least Windows 7.

推荐答案

您好,

请参阅https://www.codeproject.com / Articles / 20758 / Alpha-Blended-Windows-Forms

see https://www.codeproject.com/Articles/20758/Alpha-Blended-Windows-Forms

和https://www.codeproject.com/Articles/1822/Per-Pixel-Alpha-Blend-in-C

and https://www.codeproject.com/Articles/1822/Per-Pixel-Alpha-Blend-in-C

也许,没有测试,https://code.msdn.microsoft.com/windowsapps/CSWinFormLayeredWindow-23cdc375

maybe, didnt test, https://code.msdn.microsoft.com/windowsapps/CSWinFormLayeredWindow-23cdc375

问候,

  Thorsten

  Thorsten


这篇关于如何将LayeredWindow附加到特定表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆