Poor image quality in application form windows (without AA)

I have a Windows Forms application in which I created a UserControl consisting of two buttons and one shortcut. Buttons have png with a transparent background.

If I look at UserControl in the Windows Forms Designer, it looks great. However, if I lower the UserControl onto the form, it no longer has smooth edges.

Here are some screenshots to show what I mean:

alt textalt text

Does anyone know how to fix this?

+3
source share
2 answers

I tried what you said. I have few offers

  • Solving png can be a problem.
  • the version of VS that you are using
  • , usercontrol, , , ... ( )

. , PNG, .

+3

PNG . , , , - .

, , .

+1

Source: https://habr.com/ru/post/1779565/


All Articles