Is there a way to remove the white border of the button.I added an image to the button and I got this border. I tried with button1.FlatAppearance.BorderSize = 0; but it doesn't work.


You need to set the button to use the flat appearance.
button1.FlatStyle = FlatStyle.Flat;
button1.FlatAppearance.BorderSize = 0;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With