As the opacity changes the background color is also changed and no longer
matches the TransparencyKey which results in the form. Anyone knows how can I fix this? Is there a way to calculate the
resulting color of after opacity transformation?. I give an example:
TransparencyKey = 255; 192; 192
FormBackColor = 255; 192; 192
Opacity = 100%
Here the background is transparent cause the two colors matches.
TransparencyKey = 255; 192; 192
FormBackColor = (change because of the opacity)
Opacity = 50%
Here is does not work cause the opacity change and the BackColor does not match with the TransparencyKey