Disable form transparency

I am working on a winforms application, one of my TransparencyKey forms is set to White , so TextBoxes transparent, as shown below:

enter image description here

I want to disable this transparency, I tried changing the TransparencyKey , but it destroys a different color. How can I turn off form transparency?

+4
source share
2 answers

Just set the AllowTransparency form to False.

+5
source

In the form properties sheet, right-click TransparencyKey and select Reset .

Vstk

Otherwise, try setting the TransparencyKey to an unused color.

+3
source

All Articles