• Advertisement
Sign in to follow this  

Winforms - a button with an icon

This topic is 4163 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How can i make a button that has an icon on it - for example a "play" button in a music player? Thanks.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement