How do i remove the border of a button (C# Windows Form)

CD65 1 Reputation point
2022-02-21T20:26:30.52+00:00

This border is making this form look disgusting. anyway i can fix it?

176497-capture.png

Developer technologies C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 90,681 Reputation points
    2022-02-21T21:56:06.987+00:00

    One of the ways is for example :

     button1.FlatStyle = FlatStyle.Flat;
     button1.FlatAppearance.BorderSize = 0;
    
    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.