visual studio 2019 c# windows form disable button outline code example
Example: c# winform remove button border
button.FlatStyle = FlatStyle.Flat;
button.FlatAppearance.BorderSize = 0;
button.FlatStyle = FlatStyle.Flat;
button.FlatAppearance.BorderSize = 0;