Accessing resource images

Posted on 2006-04-01
Medium Priority
Last Modified: 2010-04-16

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!
Question by:riceman0
1 Comment

Accepted Solution

e1v earned 500 total points
ID: 16349710
Use Properties.Resources.NameOfResource

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question