|
-
August 7th, 2006, 02:53 AM
#1
Resources in C#(.NET)
Hi All,
Is there any tutorial for how to use the resources in .NET(C#). Most of the tutorials use the command prompt for attaching the resources with the assembly. How we can do that directly from .NET Editor.
Chetan Bharat,
India.
-
August 7th, 2006, 05:49 AM
#2
Re: Resources in C#(.NET)
There are several ways to do this.
One is to add the file you want to use as resource to your Project, and then set the property Build Action (point on the file and see the Properties Grid) to Embedded Resource.
Next you can use the Resources tab of the Project Properties page (in 2005). There is a very nice GUI to add images/strings/a lot of other types to your resources, either by creating them, adding files and more.
You can access the resources by using the Properties.Resources class generated for you. VERY NICE.
Last edited by jhammer; August 7th, 2006 at 05:52 AM.
-
August 7th, 2006, 09:10 PM
#3
Re: Resources in C#(.NET)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|