Jump to content

C# Windows Form Question

HybridB
Go to solution Solved by fizzlesticks,

Select the button and in the properties window there are options for a BackgroundImage and Image. Then if you want to get rid of the outside button looking part change the FlatStyle to flat.

Hi guys, so I just started coding recently after watching some of Barnacules' videos and I'm trying to make a small windows form application. Basically what im stuck on, is, instead of a button that just has text on it, i want to have a clickable image, does anyone know how to do this?

Main Rig

CPU-
AMD FX 8350 | CPU Cooler- CM hyper 212 Evo | GPU- Radeon HD 7970 | RAM- G.SKill Ripjawz X 2x4 | Storage- 1TB WD Black | 128gb Plextor Ms5 | Case- BitFenix Shinobi   | Motherboard- Gigabyte AM3+ UD3 | PSU- Rosewill hive 750 watt

 Media PC

 
CPU- A10-5800k | GPU- Onboard | RAM- Ripjaws X 4Gb | Storage- Seagate 1TB | Case- Bitfenix Prodigy M | Motherboard- MSI A75M-E35 | PSU- Antec 350W Basiq
Link to comment
Share on other sites

Link to post
Share on other sites

Select the button and in the properties window there are options for a BackgroundImage and Image. Then if you want to get rid of the outside button looking part change the FlatStyle to flat.

1474412270.2748842

Link to comment
Share on other sites

Link to post
Share on other sites

Select the button and in the properties window there are options for a BackgroundImage and Image. Then if you want to get rid of the outside button looking part change the FlatStyle to flat.

awesome, thanks for your quick response!

Main Rig

CPU-
AMD FX 8350 | CPU Cooler- CM hyper 212 Evo | GPU- Radeon HD 7970 | RAM- G.SKill Ripjawz X 2x4 | Storage- 1TB WD Black | 128gb Plextor Ms5 | Case- BitFenix Shinobi   | Motherboard- Gigabyte AM3+ UD3 | PSU- Rosewill hive 750 watt

 Media PC

 
CPU- A10-5800k | GPU- Onboard | RAM- Ripjaws X 4Gb | Storage- Seagate 1TB | Case- Bitfenix Prodigy M | Motherboard- MSI A75M-E35 | PSU- Antec 350W Basiq
Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×