Z
Z
zorghrd2017-04-29 16:44:17
Windows Forms
zorghrd, 2017-04-29 16:44:17

How to make draggable buttons in winforms?

Actually, the question from the title is How to make draggable buttons in winforms correctly?
We take the button (button) winforms, add a background image to it, set image layout stretch.
As a result, the button looks good only if the image set to the background is exactly the same size as the button, otherwise it will be blurred from all 4 edges.
How to deal with it? Is it possible to set an area that is not subject to stretching and shrinking, such as in Android with 9patch?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question