Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disabling a Form's Transparency

I'm working on a winforms application, one of my forms has TransparencyKey set to White so the TextBoxes are transparent as shown below:

enter image description here

I want to disable this transparency, I tried changing the TransparencyKey it works but ruins another color. How can I Disable transparency of the form?

like image 608
Mahdi Tahsildari Avatar asked Feb 02 '13 06:02

Mahdi Tahsildari


2 Answers

Just set the Forms AllowTransparency Property to False.

like image 193
Mark Hall Avatar answered Nov 07 '22 14:11

Mark Hall


In the property sheet of the form, right-click TransparencyKey and choose Reset.

VSTK

Failing that, try setting TransparencyKey to an unused colour.

like image 39
Danny Beckett Avatar answered Nov 07 '22 12:11

Danny Beckett