K
K
KamAKAM2020-05-22 08:47:10
C++ / C#
KamAKAM, 2020-05-22 08:47:10

How to remove black borders from a button?

How to remove black borders from a button? What would an image be without these borders5ec7674cac584656979575.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-05-22
@firedragon

In the method, or in the properties window for this button, set the
InitializeComponent() properties

this.SetButtonPublic.FlatAppearance.BorderSize = 0;
this.SetButtonPublic.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question