c# winforms button border code example Example: c# winform remove button border button.FlatStyle = FlatStyle.Flat; button.FlatAppearance.BorderSize = 0;