C
C
crescent2019-07-24 09:19:30
WPF
crescent, 2019-07-24 09:19:30

C# click on transparent background?

I have a form with a completely transparent background: (background: transparent)
I need this form to catch the (click) event from the mouse. Now it does not catch in any way, Those react to what is under it.
How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2019-07-24
@petermzg

Set the Background color to White (white) with minimal transparency. You won't notice visually, but click will work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question