c# winform remove button border

C#
button.FlatStyle = FlatStyle.Flat;
button.FlatAppearance.BorderSize = 0;
Source

Also in C#: