Making a TextBox Transparent [duplicate]

2020-02-14 06:05发布

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.

1条回答
冷血范
2楼-- · 2020-02-14 06:22

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.

查看更多
登录 后发表回答