remove the frame around button. windows forms



  • Good day, gentlemen, I have a game where the buttons come and the user has to press them and for that, he'll get the glasses, the buttons just come and disappear, and every button has a picture of itself and needs to be no frame around that image. Как оно всё выглядит исходно

    Во время работы приложения



  • I'd rather use the code instead of the picture for the visual.

    If you need to remove the frame from the button, so:

    button.FlatAppearance.BorderSize = 0;
    button.FlatStyle = FlatStyle.Flat;
    

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2