开发者

Making a TextBox Transparent [duplicate]

This question already has answers here: 开发者_如何学运维 Transparency for windows forms textbox (7 answers) Closed 8 years ago.

I have a TextBox in my Form that I want to let it be tranparent and show a picture that is in a PictureBox, behind it, but how I can do this? Thanks.


Not too complex, after some searching on StackOverflow, I found this answer.

Basically, you need to subclass TextBox and in its constructor add the appropriate style.

Final stpe, set its BackColor to Transparent. Hope it helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜