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;