当前位置: 动力学知识库 > 问答 > 编程问答 >

.net - How to make winform window transparent and picture Visible?

问题描述:

I have a idea for designed window in winform. like below. I try the window opacity propriety.

But the Image also not visible. How to make this in winform.

I found this image in google. Thanks.

网友答案:

Try using the Form.TransparencyKey property

Make sure the background of the picture you use have the a certain color and set this color as the TransparencyKey.

You should also set the FormBorderStyle property to FormBorderStyle.None in order hide the form's title, border, etc:

网友答案:

The transparent borderless forms in C# article on C# Corner describes precisely what you are looking for. A simple search on Google [c#, borderless, transparant, window, form] did the job.

分享给朋友:
您可能感兴趣的文章:
随机阅读: