• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

Accessing resource images

Hi, I am just starting out in C#, and am having trouble accessing my image resources.  I double-clicked on the project properties, which brought up the project designer, then clicked the Resources tab.  I added a few images.  Back in VB.NET, I could then access them directly using the My.Resources object; i.e., my resources became objects within that object, it was slick.  Is there an equivalent way to directly access my resources in C#?

Thanks in advance!
1 Solution
Use Properties.Resources.NameOfResource
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now