Sagotharan
Sagotharan

Reputation: 2626

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.

enter image description here

I found this image in google. Thanks.

Upvotes: 2

Views: 3518

Answers (2)

Asher
Asher

Reputation: 1867

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:

Upvotes: 4

Youp Bernoulli
Youp Bernoulli

Reputation: 5655

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.

enter image description here

Upvotes: 1

Related Questions