0

enter image description here

this.Opacity = 0.7;
this.metroTextBox1.Opacity = 1.0;

How could I solve this problem?

LIKESCA
  • 13
  • 4
  • WinForms and transparency are practically incompatible. If you really need it, then switch to some other GUI framework. – Alexander Petrov Nov 22 '20 at 12:17
  • Maybe you will be satisfied with the [TransparencyKey](https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.form.transparencykey?view=net-5.0) property. – Alexander Petrov Nov 22 '20 at 12:20
  • https://stackoverflow.com/questions/16050249/transparency-for-windows-forms-textbox – Chameera Nov 22 '20 at 12:29
  • See also the `DwmSetWindowAttribute()` *version* here: [How to create a semi transparent or blurred backcolor in a Windows Form](https://stackoverflow.com/a/51580871/7444103) – Jimi Nov 22 '20 at 13:06

0 Answers0