Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Image not showing on button while running program

Hello, I've added some 16x16 images for my buttons, I see them in the Form Design but I can't see them while starting the app. I added them into Resources then to BackgroundImage for each button.

example: Here
And here
You probably haven't changed build action from none to resource on the image which you insert into resources.
buy me a coffee eth:0x88621A52aa5Eb3b6503628369687111810186c58
(Jan 29, 2020 03:37 PM)itcorp Wrote:  You probably haven't changed build action from none to resource on the image which you insert into resources.

Thanks for your reply. Can you tell me exactly where I have to look for that option?

If you are talking about ImageIndex, ImageKey or ImageList on the Properties tab, they are both on (none) but I can't change them from that.

LE: Now it works. I had an error on my code and it ran previous saved debugs where I didn't had the images on. I'm such a newb.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by C++Dec 29, 2019 06:16 PM 16 827 Dec 29, 2019 06:16 PM
Last Post: DNA
[.NET] by System[X]May 2, 2019 09:43 AM 22 492 May 2, 2019 09:43 AM
Last Post: System[X]
[Python] by DistrictApr 7, 2019 03:14 AM 4 226 Apr 7, 2019 03:14 AM
Last Post: lockhead