I want to make some custom controls, with images as buttons. I don't want images ON buttons - I want to totally replace the button with an image read from a file. Is it possible?
You can use the PictureBox
control and use the Click
event on it to handle clicks.
You could use the image in the Button's BackgroundImage
and change the FlatStyle
to flat, and the colors of FlatAppearance
MouseDownBackColor
& MouseOverBackColor
to transparent. It should look the same as a normal picture/picturebox with properties and events of a Button
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With