Winforms - a button with an icon

Started by
0 comments, last by Oluseyi 17 years, 6 months ago
How can i make a button that has an icon on it - for example a "play" button in a music player? Thanks.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the internet, we know this is not true." -- Professor Robert Silensky
Advertisement
The simplest way is to load an image onto a button. If you want something more fancy looking, however, you'll probably need to define a Region and instruct the form to paint that region the background color, then paint the image (play icon) on top of that.

This topic is closed to new replies.

Advertisement