A transparent form of Windows that can handle Click

I am working in C # in Visual Studio and I am trying to make transparent transparent, although don’t click - without creating the title bar, it’s transparent, so there’s still something to move the (invisible) window around and (most importantly) close it.

It would be nice if the window had visible borders, but this may be a separate issue.

+2
source share
1 answer

If I understand your question correctly, you can use TrancparencyKey

Set the properties TrancparencyKeyand BackColorfor one and the same color as Color.Red.

Here is a screenshot of a transparent form on top of the visual studio:

enter image description here

Note:

  • , , Color.Red, , Click. , Color.Magenta Click.
+7

Source: https://habr.com/ru/post/1666667/


All Articles