© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•16mo ago•
9 replies
Inject

✅ Issue with picture box in C# Project

I have a project I'm working on and one of the picture box's will change on a button press.

The code I have is
picStatus.Image = Properties.Resources.checkedRedNew;
picStatus.Image = Properties.Resources.checkedRedNew;

Which provides an error "Resource does not contain defintion for checkedRedNew"

Further down I have another line of code setting the notify icon the same way and it works fine. I've checked and I have the file added to the project.
Any clue what might be going on?
Thanks.
image.png
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Input Box in C#
C#CC# / help
2y ago
Need help with moving a picture box
C#CC# / help
4y ago
MSBuild For c# project with c++ dlls
C#CC# / help
2y ago